Bug#739214: FTBFS against libav10

Moritz Muehlenhoff jmm at debian.org
Sun Feb 16 18:50:22 UTC 2014


Source: bino
Severity: important

Hi,
your package fails to build from source against libav 10 (currently
packaged in experimental). This bug will become release-critical
at some point when the libav10 transition starts.

Migration documentation can be found at
https://wiki.libav.org/Migration/10

Cheers,
        Moritz

media_object.cpp:950:53: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
                 _ffmpeg->video_sws_frames.push_back(avcodec_alloc_frame());
                                                     ^
media_object.cpp:950:73: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
                 _ffmpeg->video_sws_frames.push_back(avcodec_alloc_frame());
                                                                         ^
media_object.cpp: In member function 'int media_object::video_frame_rate_numerator(int) const':
media_object.cpp:1203:77: error: 'AVStream' has no member named 'r_frame_rate'
     int n = _ffmpeg->format_ctx->streams[_ffmpeg->video_streams.at(index)]->r_frame_rate.num;
                                                                             ^
media_object.cpp: In member function 'int media_object::video_frame_rate_denominator(int) const':
media_object.cpp:1213:77: error: 'AVStream' has no member named 'r_frame_rate'
     int d = _ffmpeg->format_ctx->streams[_ffmpeg->video_streams.at(index)]->r_frame_rate.den;
                                                                             ^
media_object.cpp: In member function 'virtual void subtitle_decode_thread::run()':
media_object.cpp:1787:73: error: 'CODEC_ID_TEXT' was not declared in this scope
         if (_ffmpeg->subtitle_codec_ctxs[_subtitle_stream]->codec_id == CODEC_ID_TEXT)
                                                                         ^
media_object.cpp: In member function 'void media_object::seek(int64_t)':
media_object.cpp:1947:92: error: 'CODEC_ID_TEXT' was not declared in this scope
         if (_ffmpeg->format_ctx->streams[_ffmpeg->subtitle_streams[i]]->codec->codec_id != CODEC_ID_TEXT)
                                                                                            ^
make[5]: *** [media_object.o] Error 1
make[5]: Leaving directory `/home/jmm/av10/bino-1.4.4/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jmm/av10/bino-1.4.4/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jmm/av10/bino-1.4.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jmm/av10/bino-1.4.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/bino-1.4.4'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list