Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation warning. #1

Open
hsanson opened this issue May 30, 2012 · 0 comments
Open

Fix deprecation warning. #1

hsanson opened this issue May 30, 2012 · 0 comments

Comments

@hsanson
Copy link
Owner

hsanson commented May 30, 2012

Compiling with recent avcodec/avformat libraries result in several deprecation warnings:

src/qav.cpp: In constructor ‘qav::qvideo::qvideo(const char_, int, int)’:
src/qav.cpp:30:6: warning: ‘int av_open_input_file(AVFormatContext__, const char_, AVInputFormat_, int, AVFormatParameters_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
src/qav.cpp:30:57: warning: ‘int av_open_input_file(AVFormatContext*, const char, AVInputFormat_, int, AVFormatParameters_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
src/qav.cpp:32:10: warning: ‘int av_find_stream_info(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
src/qav.cpp:32:40: warning: ‘int av_find_stream_info(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
src/qav.cpp:33:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:33:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:37:2: warning: ‘void dump_format(AVFormatContext_, int, const char_, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
src/qav.cpp:37:40: warning: ‘void dump_format(AVFormatContext_, int, const char_, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
src/qav.cpp:45:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:45:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:52:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:52:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:55:9: warning: ‘int avcodec_open(AVCodecContext_, AVCodec_)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
src/qav.cpp:55:39: warning: ‘int avcodec_open(AVCodecContext_, AVCodec_)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
src/qav.cpp:56:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:56:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:63:7: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:63:37: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:75:7: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:75:37: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:87:7: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:87:37: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp: In destructor ‘qav::qvideo::~qvideo()’:
src/qav.cpp:231:2: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:231:32: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant