[FFmpeg-trac] #2575(avcodec:new): Change of AV_CODEC_ID_SNOW renumbered other AVCodec_ID enum values

FFmpeg trac at avcodec.org
Wed May 15 20:22:55 CEST 2013


#2575: Change of AV_CODEC_ID_SNOW renumbered other AVCodec_ID enum values
----------------------------------+--------------------------------------
             Reporter:  wolenetz  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Summary of the bug:

 In commit feccf2f6, AV_CODEC_ID_SNOW was moved in enum AVCodecID to be a
 MKBETAG value.  Values for subsequent IDs such as AV_CODEC_ID_TSCC
 changed.  This violates the rule:
 "1. no value of a existing codec ID changes (that would break ABI)", and
 impacts users of FFmpeg such as Chromium that have some dependency on this
 rule.

 How to reproduce:
 {{{
 % git diff 5b802cf567a0ee7a2990e08d08f8aa0abffbb7d2 --
 libavcodec/avcodec.h
 ...
 @@ -154,7 +156,6 @@ enum AVCodecID {
      AV_CODEC_ID_MSZH,
      AV_CODEC_ID_ZLIB,
      AV_CODEC_ID_QTRLE,
 -    AV_CODEC_ID_SNOW,
      AV_CODEC_ID_TSCC,
      AV_CODEC_ID_ULTI,
      AV_CODEC_ID_QDRAW,
 ...
 }}}

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2575>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list