hedgewars/avwrapper/avwrapper.c
changeset 11624 dc0fc56c03ca
parent 11623 bc83e11e5ee7
child 11626 968bff2534ca
--- a/hedgewars/avwrapper/avwrapper.c	Fri Mar 25 10:54:23 2016 -0400
+++ b/hedgewars/avwrapper/avwrapper.c	Fri Mar 25 11:01:01 2016 -0400
@@ -69,7 +69,7 @@
 
 #if LIBAVCODEC_VERSION_MAJOR < 56
 #define av_frame_alloc                      avcodec_alloc_frame
-#define av_frame_free                       av_freep
+#define av_frame_free                       avcodec_free_frame
 #define av_frame_unref                      avcodec_get_frame_defaults
 #define av_packet_rescale_ts                rescale_ts