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.

Best regards,
Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to