[FFmpeg-trac] #11641(avcodec:new): ffmpeg 7.0 broke ABI for AVCodecID enum values

FFmpeg trac at avcodec.org
Sat Jun 21 09:38:35 EEST 2025


#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


More information about the FFmpeg-trac mailing list