[FFmpeg-devel] [PATCH] Make AVRtpPayloadTypes static and constant

Diego 'Flameeyes' Pettenò flameeyes
Sat Jan 5 13:34:16 CET 2008


The attached patch changes the way AVRtpPayloadTypes is defined.

First of all now it's static and constant (before it was variable and
exported). Then the structure is no more declared with a named type, but
with an anonymous structure, as it's never used beside for declaring
AVRtpPayloadTypes.

With this change the table is moved definitely in .rodata even for PIC
code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavformat-AVRtpPayloadTypes-localise.patch
Type: text/x-patch
Size: 1532 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080105/18f4cefe/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/18f4cefe/attachment.pgp>



More information about the ffmpeg-devel mailing list