[FFmpeg-devel] [PATCH] Make AVCodecTag non-opaque.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Oct 22 17:18:56 CEST 2011


On Sat, Oct 22, 2011 at 05:12:04PM +0200, Michael Niedermayer wrote:
> On Sat, Oct 22, 2011 at 01:03:53PM +0200, Reimar Döffinger wrote:
> > This may make keeping ABI-compatibility harder, but without it
> > av_codec_get_id and av_codec_get_tag cannot be reused by
> > applications for their own purposes.
> 
> We could add public functions and structures for searching
> through int[2] lists if such do not exists yet. This could even be
> made more generically to int[n] lists and a single function.

int[2] is not between enum CodecID and uint32_t, that means
casting hacks for that use case.


More information about the ffmpeg-devel mailing list