[FFmpeg-devel] [PATCH] vp3.c: Don't compile a debug loop
Mike Melanson
mike
Tue Sep 30 03:18:10 CEST 2008
Michael Niedermayer wrote:
> 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?
Nope; rip it out.
--
-Mike Melanson
More information about the ffmpeg-devel
mailing list