hedgewars/avwrapper/avwrapper.c
changeset 11618 bc83e11e5ee7
parent 11614 3c959df6638e
child 11619 dc0fc56c03ca
--- a/hedgewars/avwrapper/avwrapper.c	Fri Mar 25 15:52:49 2016 +0100
+++ b/hedgewars/avwrapper/avwrapper.c	Fri Mar 25 10:54:23 2016 -0400
@@ -70,6 +70,7 @@
 #if LIBAVCODEC_VERSION_MAJOR < 56
 #define av_frame_alloc                      avcodec_alloc_frame
 #define av_frame_free                       av_freep
+#define av_frame_unref                      avcodec_get_frame_defaults
 #define av_packet_rescale_ts                rescale_ts
 
 static void rescale_ts(AVPacket *pkt, AVRational ctb, AVRational stb)