[FFmpeg-devel] [PATCH] fix compilation in cygwin

Vitor Sessak vitor1001
Mon Jan 11 02:04:42 CET 2010


Vitor Sessak wrote:
> acelp_pitch_delay.c was never compilable on cygwin (it just was never 
> compiled before SIPR addition). According to FATE:
> 
> /home/mik/src/fate/build/libavcodec/libavcodec.a(acelp_pitch_delay.o):acelp_pitch_delay.c:(.text+0xa1): 
> undefined reference to `_log2f'
> /home/mik/src/fate/build/libavcodec/libavcodec.a(acelp_pitch_delay.o):acelp_pitch_delay.c:(.text+0xd1): 
> undefined reference to `_exp2f'
> 
> +static av_always_inline av_const float exp2f(float x)
> +{
> +    return exp(x) * 0.693147180559945;

err, 1000l, I mean as attached...

-Vitor


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_mingw2.diff
Type: text/x-patch
Size: 1204 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100110/e5c03a21/attachment.bin>



More information about the ffmpeg-devel mailing list