[FFmpeg-devel] [PATCH] avcodec/codec_desc: rename smv video codec name to smvjpeg to match decoder name

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Jun 16 22:33:35 CEST 2015

On 16.06.2015 22:29, Paul B Mahol wrote:
> 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.

Ah, I see. Doing that would be good, but definitely requires a soversion bump.

Best regards,

More information about the ffmpeg-devel mailing list