On Sun, Feb 16, 2014 at 07:46:36PM +0100, Moritz Muehlenhoff wrote: > Source: avifile > 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 > > aviread/FFReadStream.cpp:33:4: error: 'CODEC_ID_DTS' was not declared in this > scope > { CODEC_ID_DTS, 0x10 }, > ^ > aviread/FFReadStream.cpp:34:4: error: 'CODEC_ID_MP2' was not declared in this > scope > { CODEC_ID_MP2, 0x50 }, > ^ > aviread/FFReadStream.cpp:35:4: error: 'CODEC_ID_MP3' was not declared in this > scope > { CODEC_ID_MP3, 0x55 }, > ^ > aviread/FFReadStream.cpp:36:4: error: 'CODEC_ID_AC3' was not declared in this > scope > { CODEC_ID_AC3, WAVE_FORMAT_DVM }, > ^ > aviread/FFReadStream.cpp:37:4: error: 'CODEC_ID_AAC' was not declared in this > scope > { CODEC_ID_AAC, 'M' | ('P' << 8) }, // MP4A > ^ > aviread/FFReadStream.cpp:38:4: error: 'CODEC_ID_DVVIDEO' was not declared in > this scope > { CODEC_ID_DVVIDEO, mmioFOURCC('D', 'V', 'S', 'D') }, > ^ > aviread/FFReadStream.cpp:39:4: error: 'CODEC_ID_DVAUDIO' was not declared in > this scope > { CODEC_ID_DVAUDIO, ('D' << 8) | 'A' }, > ^ > aviread/FFReadStream.cpp:40:4: error: 'CODEC_ID_NONE' was not declared in > this scope > { CODEC_ID_NONE } > ^ > aviread/FFReadStream.cpp: In constructor > 'avm::FFReadStream::FFReadStream(avm::FFReadHandler*, uint_t, AVStream*)': > aviread/FFReadStream.cpp:63:38: error: 'CODEC_ID_MPEG1VIDEO' was not declared > in this scope > if (0 && avs->codec->codec_id == CODEC_ID_MPEG1VIDEO) > ^ > aviread/FFReadStream.cpp: In member function 'virtual size_t > avm::FFReadStream::GetFormat(void*, size_t) const': > aviread/FFReadStream.cpp:255:34: error: 'CODEC_ID_AAC' was not declared in > this scope > if (avs->codec->codec_id == CODEC_ID_AAC) { > ^ > make[2]: *** [FFReadStream.lo] Error 1 > make[2]: Leaving directory `/home/jmm/av10/avifile-0.7.48~20090503.ds/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/jmm/av10/avifile-0.7.48~20090503.ds' > dh_auto_build: make -j1 returned exit code 2 > make: *** [build] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2
That part is rather easy, you "just" need to convert from CODEC_ID_ -> AV_CODEC_ID_, and switch from enum CodecID to AVCodecID. The non trivial part is to move from avcodec_decode_audio3 to avcodec_decode_audio4. Anton, can you give a hand with this? Reinhard -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

