hedgewars/avwrapper/avwrapper.c
changeset 11629 c2e6df2cfac7
parent 11621 968bff2534ca
child 11807 93621207563b
equal deleted inserted replaced
11628:a9ad5b6fc7f7 11629:c2e6df2cfac7
    67 #define avcodec_default_get_buffer2(x, y ,z) avcodec_default_get_buffer(x, y)
    67 #define avcodec_default_get_buffer2(x, y ,z) avcodec_default_get_buffer(x, y)
    68 #endif
    68 #endif
    69 
    69 
    70 #if LIBAVCODEC_VERSION_MAJOR < 56
    70 #if LIBAVCODEC_VERSION_MAJOR < 56
    71 #if LIBAVCODEC_VERSION_MAJOR < 55
    71 #if LIBAVCODEC_VERSION_MAJOR < 55
    72 #define av_frame_free                       avfreep
    72 #define av_frame_free                       av_freep
    73 #else
    73 #else
    74 #define av_frame_free                       avcodec_free_frame
    74 #define av_frame_free                       avcodec_free_frame
    75 #endif
    75 #endif
    76 
    76 
    77 #define av_frame_alloc                      avcodec_alloc_frame
    77 #define av_frame_alloc                      avcodec_alloc_frame