Bug 300729

Summary: Fails to build with ffmpeg 0.11
Product: [Applications] amarok Reporter: Christoph Feck <cfeck>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.5-git   
Target Milestone: 2.6   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.6
Sentry Crash Report:

Description Christoph Feck 2012-05-27 22:21:30 UTC
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp: In member function 'virtual void MusicDNSAudioDecoder::run()':
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:139:122: error: 'av_open_input_file' was not declared in this scope
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:145:13: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:145:45: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:148:13: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:148:45: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:163:13: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:163:45: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:172:13: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:172:45: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:176:13: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:176:45: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:179:13: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:179:45: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:187:13: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:187:45: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:210:34: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:210:109: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:254:9: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
/local/git/extragear/multimedia/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:254:41: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [src/CMakeFiles/amaroklib.dir/musicbrainz/MusicDNSAudioDecoder.o] Error 1
Comment 1 Christoph Feck 2012-05-27 22:28:37 UTC
https://git.reviewboard.kde.org/r/105073/
Comment 2 Christoph Feck 2012-05-28 21:51:45 UTC
Fixed, see http://commits.kde.org/amarok/4752e41ff6235afaef88211e25e240df40ecb712