robotology / yarp

YARP - Yet Another Robot Platform
http://www.yarp.it
Other
527 stars 195 forks source link

SoundFileMp3 and ffmpegPortmonitor: Fix compatibility with ffmpeg 7 #3109

Closed traversaro closed 5 months ago

traversaro commented 6 months ago

I based my modifications on the modifications done in decode_audio and encode_audio examples in ffmpeg, see the modifications in https://github.com/FFmpeg/FFmpeg/commit/f5ef91e02080316f50d606f5b0b03333bb627ed7 .

Note that LIBAVCODEC_VERSION_MAJOR==61 corresponds to ffmpeg 7, see https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavcodec/version_major.h#L28 .

update-docs[bot] commented 6 months ago

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.

sonarcloud[bot] commented 6 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
71.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud