Bug#739376: FTBFS with libav10
Moritz Muehlenhoff
jmm at debian.org
Mon Feb 17 22:56:18 UTC 2014
Package: shotdetect
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
film.cpp:296:19: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
pFrameRGB = avcodec_alloc_frame ();
^
film.cpp:296:40: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
pFrameRGB = avcodec_alloc_frame ();
^
film.cpp:297:23: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
pFrameRGBprev = avcodec_alloc_frame ();
^
film.cpp:297:44: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
pFrameRGBprev = avcodec_alloc_frame ();
^
In file included from /usr/include/libavformat/avio.h:31:0,
from /usr/include/libavformat/avformat.h:207,
from ../include/film.h:22,
from film.cpp:18:
film.cpp: In member function 'void film::process_audio()':
film.cpp:495:104: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
this->audio_buf = (short *) av_fast_realloc (this->audio_buf, &samples_size, FFMAX (packet.size, AVCODEC_MAX_AUDIO_FRAME_SIZE));
^
film.cpp:499:82: error: 'avcodec_decode_audio3' was not declared in this scope
len1 = avcodec_decode_audio3 (pCodecCtxAudio, audio_buf, &data_size, &avpkt);
^
make[3]: *** [film.o] Error 1
make[3]: Leaving directory `/home/jmm/av10/shotdetect-1.0.86/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jmm/av10/shotdetect-1.0.86'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/shotdetect-1.0.86'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the pkg-multimedia-maintainers
mailing list