[FFmpeg-devel] [RFC] [PATCH] Make ModeAlphabet constant in vp3.c

Diego 'Flameeyes' Pettenò flameeyes
Sat Jan 5 14:52:18 CET 2008


The attached patch makes ModeAlphabet constant, by removing the custom
mode from the top, and using a static variable array inside the
unpack_modes instead for custom modes.

This way the big part of ModeAlphabet can be moved into .rodata.

I admit I'm not sure if this is good myself (hence the RFC).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-ModeAlphabet-constantise.patch
Type: text/x-patch
Size: 2294 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080105/adff00ca/attachment.bin>
-------------- next part --------------


-- 
Diego "Flameeyes" Petten?
http://farragut.flameeyes.is-a-geek.org/
-------------- 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/20080105/adff00ca/attachment.pgp>



More information about the ffmpeg-devel mailing list