changeset 11614 | 3c959df6638e |
parent 11612 | b7d5d75469ee |
child 11618 | 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