[FFmpeg-devel] [PATCH] Make img_tags in img2.c an anonymous structure
Diego 'Flameeyes' Pettenò
flameeyes
Fri May 2 17:59:37 CEST 2008
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.
Two more patches will follow to cleanup a bit av_str2id, and make
img_tags fall into .rodata.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavformat-img_tags-anonymous.patch
Type: text/x-patch
Size: 2910 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080502/5fc8f3bf/attachment.bin>
-------------- next part --------------
--
Diego "Flameeyes" Petten?
http://blog.flameeyes.eu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080502/5fc8f3bf/attachment.pgp>
More information about the ffmpeg-devel
mailing list