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

Michael Niedermayer michaelni
Tue Sep 30 03:14:26 CEST 2008

On Mon, Sep 29, 2008 at 06:25:36PM -0400, David Conrad wrote:
> 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.

why dont you just remove the debug stuff?

does anyone (mike?) want to keep it?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I count him braver who overcomes his desires than him who conquers his
enemies for the hardest victory is over self. -- 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/20080930/b4788ba0/attachment.pgp>

More information about the ffmpeg-devel mailing list