Use the correct replacement 0.9.22
authorkoda
Fri, 25 Mar 2016 11:02:38 -0400
branch0.9.22
changeset 11620 3ff4c021a24a
parent 11603 06ecd48e65ef
child 11622 02657dddb5d8
Use the correct replacement
hedgewars/avwrapper/avwrapper.c
--- a/hedgewars/avwrapper/avwrapper.c	Mon Nov 16 18:28:10 2015 +0100
+++ b/hedgewars/avwrapper/avwrapper.c	Fri Mar 25 11:02:38 2016 -0400
@@ -65,7 +65,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_packet_rescale_ts                rescale_ts
 
 static void rescale_ts(AVPacket *pkt, AVRational ctb, AVRational stb)