hedgewars/avwrapper/avwrapper.c
branch0.9.22
changeset 11630 11f6a4c316a1
parent 11622 02657dddb5d8
equal deleted inserted replaced
11622:02657dddb5d8 11630:11f6a4c316a1
    63 #define avcodec_open2(x, y, z)              avcodec_open(x, y)
    63 #define avcodec_open2(x, y, z)              avcodec_open(x, y)
    64 #endif
    64 #endif
    65 
    65 
    66 #if LIBAVCODEC_VERSION_MAJOR < 56
    66 #if LIBAVCODEC_VERSION_MAJOR < 56
    67 #if LIBAVCODEC_VERSION_MAJOR < 55
    67 #if LIBAVCODEC_VERSION_MAJOR < 55
    68 #define av_frame_free                       avfreep
    68 #define av_frame_free                       av_freep
    69 #else
    69 #else
    70 #define av_frame_free                       avcodec_free_frame
    70 #define av_frame_free                       avcodec_free_frame
    71 #endif
    71 #endif
    72 
    72 
    73 #define av_frame_alloc                      avcodec_alloc_frame
    73 #define av_frame_alloc                      avcodec_alloc_frame