[Ffmpeg-devel] [PATCH] Try 2: centralise mpeg12data tables

Diego 'Flameeyes' Pettenò flameeyes
Tue Sep 19 16:09:52 CEST 2006


As staticising all of it and replicating it isn't acceptable, this is the 
second try to get (almost) the same result: it creates a mpeg12data.c unit 
that contains all the tables, and declare them extern in mpeg12data.h, so 
that they can be easily exported when visibility is enabled.

The difference compared to the other strategy is negligible, I think, nine 
extra bindings at runtime, ad a few kilobytes less on the shared objects.

-- 
Diego "Flameeyes" Petten? - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-mpeg12-centralise.patch
Type: text/x-diff
Size: 33968 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060919/d5dbe342/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060919/d5dbe342/attachment.pgp>



More information about the ffmpeg-devel mailing list