[FFmpeg-devel] [PATCH] libavcodec/wmavoice.c: local variable pow might mask pow function
Michael Niedermayer
michaelni
Mon Jul 26 14:07:25 CEST 2010
On Sun, Jul 25, 2010 at 07:34:25PM +0200, Axel Holzinger wrote:
> Hi,
>
> 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)))
>
> The attached patch reduces ambiguity by renaming the local variable
> with pwr:
iam in favor of this workaround for buggy ms headers and code
clarification
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100726/d7afe758/attachment.pgp>
More information about the ffmpeg-devel
mailing list