We have already migrated to FFMPEG 5 and when trying to compile Retroarch (1.10.0 in this case) I get a compilation error:
error: 'AVPicture' undeclared (first use in this function); did you mean 'AVPictureType'?
DEBUG util.py:634: 77 | avpicture_alloc((AVPicture*)b->buffer[i].target,
DEBUG util.py:634: | ^~~~~~~~~
DEBUG util.py:634: | AVPictureType
DEBUG util.py:634: cores/libretro-ffmpeg/video_buffer.c:77:24: note: each undeclared identifier is reported only once for each function it appears in
DEBUG util.py:634: cores/libretro-ffmpeg/video_buffer.c:77:34: error: expected expression before ')' token
DEBUG util.py:634: 77 | avpicture_alloc((AVPicture*)b->buffer[i].target,
Which indicates incompatibility with the newly released Ffmpeg5.
It is worth adding that if I use compact ffmpeg4 version, everything compiles correctly.
Description
We have already migrated to FFMPEG 5 and when trying to compile Retroarch (1.10.0 in this case) I get a compilation error:
Full build log here: https://file-store.openmandriva.org/api/v1/file_stores/a643d96e109621fa2140ee6e3c70eaa43f4611c7.log?show=true
Which indicates incompatibility with the newly released Ffmpeg5. It is worth adding that if I use compact ffmpeg4 version, everything compiles correctly.
Expected behavior
All compiles fine with ffmpeg5
Steps to reproduce the bug
Environment information