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

Art Clarke aclarke
Wed Jun 25 16:06:08 CEST 2008


On Wed, Jun 25, 2008 at 9:43 AM, Art Clarke <aclarke at vlideshow.com> wrote:

> Assuming I'm right in my analysis (always a dicey assumption) let me know
> which you'd prefer of the following two choices:
>
> Choice A: Simpler code but waste some stack space.
> Choice B: More complex code but be as efficient as possible with stack
> space.
>
> I'll adjust the patch accordingly if you choose Choice B.
>
> - Art
>

Attached is my patch for Choice B.  I think it's more complicated to
understand, but is efficient with DATA SEGMENT (yes, I know not stack...
sorry) space.

- Art
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_static_leaks2.patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080625/635c37c2/attachment.txt>



More information about the ffmpeg-devel mailing list