Use the correct replacement
authorkoda
Fri, 25 Mar 2016 11:01:01 -0400
changeset 11619 dc0fc56c03ca
parent 11618 bc83e11e5ee7
child 11621 968bff2534ca
Use the correct replacement
hedgewars/avwrapper/avwrapper.c
--- 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