[FFmpeg-devel] [PATCH 1/2] Separate per-arch MDCT init from FFT init

Loren Merritt lorenm
Thu Sep 17 01:05:50 CEST 2009


On Wed, 16 Sep 2009, M?ns Rullg?rd wrote:
> M?ns Rullg?rd <mans at mansr.com> writes:
>> Loren Merritt <lorenm at u.washington.edu> writes:
>>
>>> Also, you're depending on the compiler to optimize away if(0), or
>>> you'll get a link error. It just so happens that current gcc does,
>>> even with -O0, but I wouldn't bet on it everywhere.
>>
>> We do that all over the place.
>
> I can replace those with #if...

If we're still going to assume the optimization, I see no benefit in 
replacing just this particular case with #if.

> Any other issues?

no

--Loren Merritt



More information about the ffmpeg-devel mailing list