[FFmpeg-devel] [PATCH] avcodec/codec_desc: rename smv video codec name to smvjpeg to match decoder name
andreas.cadhalpun at googlemail.com
Tue Jun 16 22:22:21 CEST 2015
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.
More information about the ffmpeg-devel