Bug 6147 - dvdstyler uses deprecated symbols of ffmpeg
Summary: dvdstyler uses deprecated symbols of ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 3
Assignee: Mageia Bug Squad
QA Contact:
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks: 6141
  Show dependency treegraph
 
Reported: 2012-05-29 11:35 CEST by Funda Wang
Modified: 2012-06-18 02:14 CEST (History)
0 users

See Also:
Source RPM: dvdstyler-2.2-1.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Funda Wang 2012-05-29 11:35:39 CEST
dvdstyler 2.2 builds failed with ffmpeg 0.11:

g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\" -DPACKAGE_VERSION=\"2.2\" -DPACKAGE_STRING=\"DVDStyler\ 2.2\" -DPACKAGE_BUGREPORT=\"www.dvdstyler.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dvdstyler\" -DVERSION=\"2.2\" -I.   -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -O2 -g -pipe  -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  -fno-strict-aliasing  -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__     -DGNOME2     -DHAVE_LIBUDEV -DDATADIR=\"/usr/share/dvdstyler\" -I.. -O2 -g -pipe  -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  -fno-strict-aliasing  -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__     -DGNOME2     -DHAVE_LIBUDEV -DDATADIR=\"/usr/share/dvdstyler\" -MT WelcomeDlg.o -MD -MP -MF .deps/WelcomeDlg.Tpo -c -o WelcomeDlg.o WelcomeDlg.cpp
In file included from mediatrc_ffmpeg.cpp:11:0:
mediatrc_ffmpeg.h:141:5: error: 'SampleFormat' does not name a type
mv -f .deps/mediaenc.Tpo .deps/mediaenc.Po
g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\" -DPACKAGE_VERSION=\"2.2\" -DPACKAGE_STRING=\"DVDStyler\ 2.2\" -DPACKAGE_BUGREPORT=\"www.dvdstyler.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dvdstyler\" -DVERSION=\"2.2\" -I.   -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -O2 -g -pipe  -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  -fno-strict-aliasing  -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__     -DGNOME2     -DHAVE_LIBUDEV -DDATADIR=\"/usr/share/dvdstyler\" -I.. -O2 -g -pipe  -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  -fno-strict-aliasing  -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__     -DGNOME2     -DHAVE_LIBUDEV -DDATADIR=\"/usr/share/dvdstyler\" -MT DVDPropDlg.o -MD -MP -MF .deps/DVDPropDlg.Tpo -c -o DVDPropDlg.o DVDPropDlg.cpp
mediatrc_ffmpeg.cpp: In function 'int configure_video_filters(InputStream*, OutputStream*)':
mediatrc_ffmpeg.cpp:276:89: error: cannot convert 'AVFilterInOut*' to 'AVFilterInOut**' for argument '3' to 'int avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut**, AVFilterInOut**, void*)'
mediatrc_ffmpeg.cpp: In constructor 'wxFfmpegMediaTranscoder::wxFfmpegMediaTranscoder(int)':
mediatrc_ffmpeg.cpp:353:2: error: 'audio_sample_fmt' was not declared in this scope
mediatrc_ffmpeg.cpp:353:21: error: 'SAMPLE_FMT_NONE' was not declared in this scope
mediatrc_ffmpeg.cpp:372:16: error: 'AVFMT_NOOUTPUTLOOP' was not declared in this scope
mediatrc_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaTranscoder::AddInputFile(const wxString&, bool, bool, bool, long int)':
mediatrc_ffmpeg.cpp:613:6: error: 'AVFormatContext' has no member named 'loop_input'
mediatrc_ffmpeg.cpp:617:8: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:617:30: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:659:5: error: 'audio_sample_fmt' was not declared in this scope
mediatrc_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaTranscoder::SetOutputFile(const wxString&, VideoFormat, wxArrayInt, wxArrayInt, int, bool, int)':
mediatrc_ffmpeg.cpp:743:6: error: 'AVFormatContext' has no member named 'preload'
mediatrc_ffmpeg.cpp:826:2: error: 'audio_sample_fmt' was not declared in this scope
mediatrc_ffmpeg.cpp: In function 'void choose_sample_fmt(AVStream*, AVCodec*)':
mediatrc_ffmpeg.cpp:909:14: error: use of enum 'SampleFormat' without previous declaration
mediatrc_ffmpeg.cpp:909:29: error: invalid type in declaration before '=' token
mediatrc_ffmpeg.cpp:909:38: error: cannot convert 'const AVSampleFormat*' to 'const int*' in initialization
mediatrc_ffmpeg.cpp: In function 'AVCodec* choose_codec(AVFormatContext*, AVStream*, AVMediaType, int)':
mediatrc_ffmpeg.cpp:953:8: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp:962:8: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp:971:8: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp: In member function 'OutputStream* wxFfmpegMediaTranscoder::NewOutputStream(AVFormatContext*, AVMediaType, int)':
mediatrc_ffmpeg.cpp:986:17: warning: 'AVStream* av_new_stream(AVFormatContext*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1557) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:986:102: warning: 'AVStream* av_new_stream(AVFormatContext*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1557) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::AddVideoStream(AVFormatContext*, VideoFormat, int, bool)':
mediatrc_ffmpeg.cpp:1062:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1062:61: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1063:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1063:44: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1064:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1064:66: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1065:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1065:60: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1066:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1066:43: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1068:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1068:43: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1069:3: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1069:44: warning: 'const AVOption* av_set_int(void*, const char*, int64_t)' is deprecated (declared at /usr/include/libavutil/opt.h:342) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1084:8: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp:1085:42: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::AddAudioStream(AVFormatContext*, AudioFormat, int)':
mediatrc_ffmpeg.cpp:1177:8: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp:1178:42: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp:1182:7: error: 'audio_sample_fmt' was not declared in this scope
mediatrc_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaTranscoder::Run(bool&)':
mediatrc_ffmpeg.cpp:1474:16: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp:1558:26: error: 'SAMPLE_FMT_NB' was not declared in this scope
mediatrc_ffmpeg.cpp:1690:8: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1690:42: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1722:8: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1722:42: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:1772:17: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp:1973:18: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::OutputPacket(InputStream*, int, OutputStream*, int, const AVPacket*)':
mediatrc_ffmpeg.cpp:2063:11: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2063:84: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2087:14: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp:2149:44: error: 'av_vsrc_buffer_add_frame' was not declared in this scope
mediatrc_ffmpeg.cpp:2262:91: error: 'AVFilterBufferRefVideoProps' has no member named 'pixel_aspect'
mediatrc_ffmpeg.cpp:2397:15: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2397:88: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2403:15: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2403:74: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2413:14: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4077) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2413:73: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4077) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::DoAudioOut(AVFormatContext*, OutputStream*, InputStream*, unsigned char*, int)':
mediatrc_ffmpeg.cpp:2540:27: error: 'SAMPLE_FMT_S16' was not declared in this scope
mediatrc_ffmpeg.cpp:2556:3: error: 'SAMPLE_FMT_NB' was not declared in this scope
mediatrc_ffmpeg.cpp:2667:10: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2667:81: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2702:9: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2702:71: warning: 'int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4015) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::DoVideoOut(AVFormatContext*, OutputStream*, InputStream*, AVFrame*, int*, int, uint8_t*)':
mediatrc_ffmpeg.cpp:2861:54: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp:2861:79: error: 'AVStream' has no member named 'quality'
mediatrc_ffmpeg.cpp:2870:10: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4077) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:2870:77: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4077) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp: In member function 'void wxFfmpegMediaTranscoder::PrintReport(OutputFile*, OutputStream*, int, int)':
mediatrc_ffmpeg.cpp:2995:17: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp:2999:16: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp:3007:16: error: 'AVStream' has no member named 'stream_copy'
mediatrc_ffmpeg.cpp: In member function 'virtual void wxFfmpegMediaTranscoder::End()':
mediatrc_ffmpeg.cpp:3088:3: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
mediatrc_ffmpeg.cpp:3088:41: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
mv -f .deps/Utils.Tpo .deps/Utils.Po
Funda Wang 2012-05-29 11:36:34 CEST

Blocks: (none) => 6141

Funda Wang 2012-05-29 11:36:47 CEST

Target Milestone: --- => Mageia 3

Comment 1 Funda Wang 2012-06-18 02:14:02 CEST
fixed in latest dvdstyler

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.