[FFmpeg-devel] [Patch] Fix for static leaks in h264.c

Michael Niedermayer michaelni
Wed Jun 25 13:08:44 CEST 2008


On Tue, Jun 24, 2008 at 08:34:34PM -0400, Art Clarke wrote:
> This is a continuation of the patch for leaks as in:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-June/048859.html
> 
> Same test case applies; this time though pass in a test file that requires
> the h263 decoder.  This one is slightly hairier than h263.c because I had to
> unroll some loops to get sufficient space in the data segment.  Yes, it
> makes me feel squeamish to look at it too.

Maybe init_vlc( ..., INIT_VLC_USE_NEW_STATIC) could be used in a loop with
a table of the sizes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080625/d1c936f6/attachment.pgp>



More information about the ffmpeg-devel mailing list