hedgewars/avwrapper/avwrapper.c
changeset 11619 3c959df6638e
parent 11617 b7d5d75469ee
child 11623 bc83e11e5ee7
--- a/hedgewars/avwrapper/avwrapper.c	Tue Mar 22 12:09:26 2016 +0300
+++ b/hedgewars/avwrapper/avwrapper.c	Tue Mar 22 11:59:31 2016 -0400
@@ -63,6 +63,10 @@
 #define avcodec_open2(x, y, z)              avcodec_open(x, y)
 #endif
 
+#if LIBAVCODEC_VERSION_MAJOR < 55
+#define avcodec_default_get_buffer2(x, y ,z) avcodec_default_get_buffer(x, y)
+#endif
+
 #if LIBAVCODEC_VERSION_MAJOR < 56
 #define av_frame_alloc                      avcodec_alloc_frame
 #define av_frame_free                       av_freep