[FFmpeg-cvslog] avcodec: Change values of codec ids at the end of lists that dont exist outside ffmpeg yet so

Nicolas George nicolas.george at normalesup.org
Wed Nov 2 16:27:40 CET 2011


Le septidi 7 brumaire, an CCXX, Michael Niedermayer a écrit :
> +    CODEC_ID_G2M        = MKBETAG( 0 ,'G','2','M'),
> +    CODEC_ID_8SVX_RAW   = MKBETAG('8','S','V','X'),
> +    CODEC_ID_MICRODVD   = MKBETAG('m','D','V','D'),
> +    CODEC_ID_BINTEXT    = MKBETAG('B','T','X','T'),
> +    CODEC_ID_XBIN       = MKBETAG('X','B','I','N'),
> +    CODEC_ID_IDF        = MKBETAG( 0 ,'I','D','F'),

Using tags like that is a good idea; unfortunately, it will make
avcodec_get_type fail, because it does not obey the rule it states:
- video codecs from 1 to 0xffff,
- audio codecs from 0x10000 to 0x16fff,
- subtitles codecs from 0x17000 to 0x17fff.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20111102/e3b44736/attachment.asc>


More information about the ffmpeg-cvslog mailing list