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

Lots of deprecation warnings in FFMPEG code #124

Open
spillerrec opened this issue Jul 22, 2018 · 1 comment
Open

Lots of deprecation warnings in FFMPEG code #124

spillerrec opened this issue Jul 22, 2018 · 1 comment
Assignees
Labels

Comments

@spillerrec
Copy link
Owner

/root/project/src/video/VideoStream.cpp:89:48: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
/root/project/src/video/VideoStream.cpp:123:29: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
/root/project/src/video/VideoStream.cpp:145:73: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]

And FFFMPEG tends to be a pain with informing you what you should use instead...

@spillerrec spillerrec added the bug label Jul 22, 2018
@spillerrec spillerrec self-assigned this Jul 22, 2018
@spillerrec
Copy link
Owner Author

https://libav.org/documentation/doxygen/master/deprecated.html
Finally found it, a list of what you should use instead of the deprecated functions. I still don't understand why it is not in the actual API docs. And it is still a pain to convert...

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

No branches or pull requests

1 participant