author | koda |
Tue, 22 Mar 2016 11:59:31 -0400 | |
changeset 11619 | 3c959df6638e |
parent 11618 | 66880a42c2d7 |
child 11620 | d5b205f00ac7 |
--- 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