[FFmpeg-devel] [PATCH] reduce global data in lavc

Stefan Gehrer stefan.gehrer
Tue Jun 24 22:52:34 CEST 2008

Stefan Gehrer wrote:
> Hi,
> After this patch, there are still global variables around
> which I would categorize as the following:
> 1. run-length tables that I think can be avoided by using
>   INIT_VLC_STATIC, but I haven't looked closely.
>   These can be found in the following files:
>   msmpeg4data.o (rl_table, mv_tables, wmv2_inter_table)
>   mpeg12data.o  (ff_rl_mpeg1, ff_rl_mpeg2)
>   h263.o        (rl_inter, rl_intra_aic, rl_intra,
>                  rvlc_rl_inter, rvlc_rl_intra)
>   h261dec.o     (h261_rl_tcoeff)
> 2. temporary space for compound literals in many files
> 3. ModeAlphabet in vp3.c, which is written to and thus
>   should be moved to the context

attached patch fixes point 3.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vp3global.diff
Type: text/x-diff
Size: 2296 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080624/1ea5c2ec/attachment.diff>

More information about the ffmpeg-devel mailing list