compile error: ‘avformat_close_input’ was not declared in this scope
Mathias Panzenböck
grosser.meister.morti at gmx.net
Sat Jul 14 14:15:41 UTC 2012
Since (I think) yesterday I get these compile errors:
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp: In member function ‘virtual
void MusicDNSAudioDecoder::run()’:
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:146:47: error:
‘avformat_close_input’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:161:47: error:
‘avformat_close_input’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:170:47: error:
‘avformat_close_input’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:177:47: error:
‘avformat_close_input’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:185:47: error:
‘avformat_close_input’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:214:104: error:
‘avcodec_decode_audio4’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:227:109: error: ‘AVFrame’ has
no member named ‘nb_samples’
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:227:145: error:
‘av_samples_get_buffer_size’ was not declared in this scope
/home/panzi/software/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:259:43: error:
‘avformat_close_input’ was not declared in this scope
make[2]: *** [src/CMakeFiles/amaroklib.dir/musicbrainz/MusicDNSAudioDecoder.o] Error 1
avformat_close_input is from ffmpeg, right? I have ffmpeg-devel installed (version 0.8.12). cmake
does not complain about anything.
-panzi
More information about the Amarok-devel
mailing list