[FFmpeg-devel] [PATCH] vp3.c: Don't compile a debug loop

David Conrad lessen42
Tue Sep 30 00:25:36 CEST 2008


On Sep 29, 2008, at 6:09 PM, David Conrad wrote:

> Hi,
>
> gcc 4.0.1 isn't smart enough to optimize out this loop when  
> debug_idct is defined to nothing. This forces the loop to not be  
> compiled when it does nothing, for an overall speedup of about 1%.

Actually this is a little cleaner; the previous gave m and n unused  
warnings.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vp3-unused-code.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080929/85e93751/attachment.txt>
-------------- next part --------------




More information about the ffmpeg-devel mailing list