yarp
yarp copied to clipboard
[Draft] ffmpeg deprecation cleanup
Work in progress, for now cleaning up the deprecations, eventually this should fix https://github.com/robotology/yarp/issues/2885 . I open this PR to use the CI to make sure that this is compiling fine against all the ffmpeg versions tested in the CI.
Detailed changes with motivations for the changes:
- substitute AVPicture with AVFrame: See https://github.com/FFmpeg/FFmpeg/blob/n4.4.3/libavcodec/avpicture.c#L40 for the original implementation of the function substituted
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update the release notes by adding a file in doc/release/<target_branch>, based on your changes.
I tried to tackle warning: ‘AVStream::codec’ is deprecated, but honestly I am getting a bit lost.