[FFmpeg-devel] [PATCH] avcodec/codec_desc: rename smv video codec name to smvjpeg to match decoder name
Paul B Mahol
onemda at gmail.com
Tue Jun 16 22:29:31 CEST 2015
On 6/16/15, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
> On 16.06.2015 21:31, Hendrik Leppkes wrote:
>> I see no reason these strings should be considered API. They are
>> descriptive names, not option tokens or anything.
>> If you want a reliable static way to identify a codec, use the id.
> At least currently using the codec id is the only way to reliably
> identify codecs, because there are decoders with the same name,
> but different codec ids.
> (name: "iff", id: AV_CODEC_ID_IFF_ILBM or AV_CODEC_ID_IFF_BYTERUN1)
> However, I think that is broken, but I'm not sure how that can be fixed.
That used to be two different decoders but now are both same decoder,
my plan is to rename one to AV_CODEC_ID_IFF and deprecate other.
> Best regards,
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel