#11641: ffmpeg 7.0 broke ABI for AVCodecID enum values
-------------------------------------+-------------------------------------
Reporter: Aras | Type: defect
Pranckevicius |
Status: new | Priority: normal
Component: avcodec | Version: 7.0
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Looks like removal of AV_CODEC_ID_AYUV (in 9ee59b63f5ea3 on 2024 March)
has shifted all the following AVCodecID values to be 1 lower. There's a
comment atop of enum saying "no value of an existing codec ID changes
(that would break ABI)", so maybe literal removal is not a good approach.
Found in blender when update of ffmpeg to 7.0 broke AV1 support
(https://projects.blender.org/blender/blender/issues/140740), since parts
of blender assume that AVCodecID values never change, but they did in 7.0.
Now, maybe that is a wrong assumption on blender's part, but this change
could affect other software too.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11641>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".