degeron / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

ffmpeg, some deprecated #512

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when compiling shows a warning about using deprecated structures in the 
module ffmpeg

What is the expected output? What do you see instead?

usual compile echo without warnings about deprecated

What version of the product are you using? On what operating system?

SVN 2535 revision

Please provide any additional information below.

Scanning dependencies of target ffmpeg                                          

[ 30%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/decoder_ffmpeg.o                 

/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp: In destructor 
‘virtual DecoderFFmpeg::~DecoderFFmpeg()’:                      
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:89:9: warning: 
‘void av_close_input_stream(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1688) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:89:33: warning: 
‘void av_close_input_stream(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1688) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp: In member 
function ‘virtual bool DecoderFFmpeg::initialize()’:
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:142:5: warning: 
‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:142:27: warning: 
‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:211:9: warning: 
‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:4073) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:211:30: warning: 
‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:4073) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp: In member 
function ‘qint64 DecoderFFmpeg::ffmpeg_decode(uint8_t*)’:
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:294:17: warning: 
‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is 
deprecated (declared at /usr/include/libavcodec/avcodec.h:4159) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:294:84: warning: 
‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is 
deprecated (declared at /usr/include/libavcodec/avcodec.h:4159) 
[-Wdeprecated-declarations]
[ 31%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/decoderffmpegfactory.o
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp: In member 
function ‘virtual QList<FileInfo*> DecoderFFmpegFactory::createPlayList(const 
QString&, bool)’:
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp:129:5: 
warning: ‘void avcodec_init()’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3851) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp:129:18: 
warning: ‘void avcodec_init()’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3851) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp:140:5: 
warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1519) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp:140:27: 
warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1519) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp:180:5: 
warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1699) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp:180:27: 
warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1699) 
[-Wdeprecated-declarations]
[ 31%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/ffmpegmetadatamodel.o
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp: In 
constructor ‘FFmpegMetaDataModel::FFmpegMetaDataModel(const QString&, 
QObject*)’:
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:26:5: 
warning: ‘void avcodec_init()’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3851) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:26:18: 
warning: ‘void avcodec_init()’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3851) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:31:5: 
warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1519) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:31:29: 
warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1519) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp: In 
destructor ‘virtual FFmpegMetaDataModel::~FFmpegMetaDataModel()’:
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:38:9: 
warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1699) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:38:33: 
warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated 
(declared at /usr/include/libavformat/avformat.h:1699) 
[-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp: In member 
function ‘virtual QHash<QString, QString> 
FFmpegMetaDataModel::audioProperties()’:
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:49:58: 
warning: ‘AVFormatContext::file_size’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:980) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/ffmpegmetadatamodel.cpp:49:58: 
warning: ‘AVFormatContext::file_size’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:980) [-Wdeprecated-declarations]
[ 31%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/settingsdialog.o
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/settingsdialog.cpp: In constructor 
‘SettingsDialog::SettingsDialog(QWidget*)’:                    
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/settingsdialog.cpp:43:5: warning: 
‘void avcodec_init()’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3851) [-Wdeprecated-declarations]
/usr/src/qmmp/qmmp/src/plugins/Input/ffmpeg/settingsdialog.cpp:43:18: warning: 
‘void avcodec_init()’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3851) [-Wdeprecated-declarations]
[ 31%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/moc_decoderffmpegfactory.o
[ 31%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/moc_ffmpegmetadatamodel.o        

[ 32%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/moc_settingsdialog.o             

[ 32%] Building CXX object 
src/plugins/Input/ffmpeg/CMakeFiles/ffmpeg.dir/qrc_translations.o               

Linking CXX shared module libffmpeg.so                                          

[ 32%] Built target ffmpeg

Original issue reported on code.google.com by vsekur...@gmail.com on 16 Dec 2011 at 3:47

GoogleCodeExporter commented 9 years ago
forgot to declare ffmpeg version - 0.8.7.git

Original comment by vsekur...@gmail.com on 16 Dec 2011 at 3:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2536.

Original comment by trialuser02 on 17 Dec 2011 at 7:30