[FFmpeg-devel] [PATCH] Make img_tags in img2.c an anonymous structure

Michael Niedermayer michaelni
Fri May 2 19:28:01 CEST 2008


On Fri, May 02, 2008 at 05:59:37PM +0200, Diego 'Flameeyes' Petten? wrote:
> 
> The attached patch makes the structure for img_tags anonymous and avoids
> passing a pointer to the global (static) array to the av_str2id
> function, which is itself static and thus has no reason to get a
> parameter for that.

I wonder if this is the only place where we have a int/char* array and
want to map from one to the other.
If not this change would be going in the wrong direction.

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080502/e7e3fc72/attachment.pgp>



More information about the ffmpeg-devel mailing list