Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 476530
Collapse All | Expand All

(-)src/engine/cDeviceModelDef.h (+5 lines)
Lines 64-69 Link Here
64
    #include <libavformat/avformat.h>
64
    #include <libavformat/avformat.h>
65
    #include <libavformat/avio.h>
65
    #include <libavformat/avio.h>
66
66
67
    #if (LIBAVCODEC_VERSION_INT>=AV_VERSION_INT(55,18,0))
68
        typedef AVCodecID CodecID;
69
        #define AVCODEC_MAX_AUDIO_FRAME_SIZE 192
70
    #endif
71
67
    #if ((LIBAVUTIL_VERSION_INT>=AV_VERSION_INT(51,73,0))&&(LIBAVCODEC_VERSION_INT>=AV_VERSION_INT(54,31,0))&&(LIBAVFORMAT_VERSION_INT>=AV_VERSION_INT(54,19,0)))
72
    #if ((LIBAVUTIL_VERSION_INT>=AV_VERSION_INT(51,73,0))&&(LIBAVCODEC_VERSION_INT>=AV_VERSION_INT(54,31,0))&&(LIBAVFORMAT_VERSION_INT>=AV_VERSION_INT(54,19,0)))
68
        #define LIBAV_09
73
        #define LIBAV_09
69
        #if defined(USELIBAVRESAMPLE)
74
        #if defined(USELIBAVRESAMPLE)
(-)src/engine/cBaseMediaFile.cpp (-1 / +5 lines)
Lines 2167-2173 Link Here
2167
        }
2167
        }
2168
2168
2169
    #else
2169
    #else
2170
        int Ret=av_buffersrc_add_frame(VideoFilterIn,FrameBufferYUV,0);
2170
        #if (LIBAVFILTER_VERSION_INT < AV_VERSION_INT(3,79,0))
2171
            int Ret=av_buffersrc_add_frame(VideoFilterIn,FrameBufferYUV,0);
2172
        #else
2173
            int Ret=av_buffersrc_add_frame(VideoFilterIn,FrameBufferYUV);
2174
        #endif
2171
        if (Ret<0) {
2175
        if (Ret<0) {
2172
            ToLog(LOGMSG_CRITICAL,QString("Error in cVideoFile::VideoFilter_Process : av_buffersrc_add_frame"));
2176
            ToLog(LOGMSG_CRITICAL,QString("Error in cVideoFile::VideoFilter_Process : av_buffersrc_add_frame"));
2173
            return VC_ERROR;
2177
            return VC_ERROR;

Return to bug 476530