[Ffmpeg-devel] [PATCH] another vorbis optimization

Loren Merritt lorenm
Tue Aug 8 19:08:55 CEST 2006


On Tue, 8 Aug 2006, Luca Barbato wrote:

> Loren Merritt wrote:
>> +    for(i=0;i<len;i+=4) {
>> +    }
>> +#else
>
> len is always multiple of 4?

Yes. Vorbis frames are a power of 2, between 64 and 8192 samples. But 
even if that weren't true, all we need is enough space in the buffer. 
There's nothing wrong with converting garbage samples past the end.

--Loren Merritt




More information about the ffmpeg-devel mailing list