[Ffmpeg-devel] [PATCH] imc should use av_log2

Steve Lhomme slhomme
Fri Nov 10 17:32:37 CET 2006


Guillaume POIRIER wrote:
> Hi,
> 
> On 11/10/06, Steve Lhomme <slhomme at divxcorp.com> wrote:
>> Benjamin Larsson wrote:
>> > Steve Lhomme skrev:
>> >> ...instead of log2()
>> >>
>> >> Steve
>> >>
>> >
>> > Did you actually test if this worked ?
>>
>> Nop, I don't have any test file. But I know MSVC doesn't have log2() and
>> FFMPEG provides one (used a lot in other places). So I assume it should
>> do the same.
>>
> 
> As far as I understand the code of av_log2(), it's a function aimed at
> being used for integers, not floats.

Then at least for av_log2(10) (which could either be a constant)... I'll 
try to make something for MSVC.

Steve




More information about the ffmpeg-devel mailing list