master branch lost some functions, such as
/root/osg/osg/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:230:20: error: ‘AVCodecContext’ has no member named ‘get_buffer’ m_context->get_buffer = avcodec_default_get_buffer; ^ /root/osg/osg/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:230:33: error: ‘avcodec_default_get_buffer’ was not declared in this scope m_context->get_buffer = avcodec_default_get_buffer; ^ /root/osg/osg/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:231:20: error: ‘AVCodecContext’ has no member named ‘release_buffer’ m_context->release_buffer = avcodec_default_release_buffer; ^ /root/osg/osg/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:231:37: error: ‘avcodec_default_release_buffer’ was not declared in this scope m_context->release_buffer = avcodec_default_release_buffer; ^ make[2]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o] Error 1 make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 make: *** [all] Error 2 ------------------ 原始邮件 ------------------ 发件人: "Moritz Barsnick";<barsn...@gmx.net>; 发送时间: 2015年12月11日(星期五) 下午5:45 收件人: "FFmpeg development discussions and patches"<ffmpeg-devel@ffmpeg.org>; 主题: Re: [FFmpeg-devel] compile ffmpeg errors Wrong mailing list, but anyway: On Fri, Dec 11, 2015 at 15:09:23 +0800, 广州刘丹 wrote: > git checkout origin/release/2.8 Why not stick with master? > libavfilter/avf_showcqt.c:38:10: error: #include expects "FILENAME" or > <FILENAME> Something went wrong with your libfreetype. (I think your ft2build.h is supposed to define FT_FREETYPE_H, (via something like /usr/include/freetype2/freetype/config/ftheader.h. Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel