[FFmpeg-devel] [PATCH] libavcodec/wmavoice.c: local variable pow might mask pow function

Ronald S. Bultje rsbultje
Sun Jul 25 20:08:59 CEST 2010


Hi,

On Sun, Jul 25, 2010 at 1:34 PM, Axel Holzinger <aholzinger at gmx.de> wrote:
> in libavcodec/wmavoice.c local variable float pow (line 585) can mask
> pow function if powf (line 595) is a #define and defined for example
> like
> #define powf(x,y) ? ((float)pow((double)(x), (double)(y)))

I'm not against the patch, if the define of powf->pow is somewhere
inside FFmpeg (for proper portability reasons) as well.

Ronald



More information about the ffmpeg-devel mailing list