diff -cNr ffmpeg-0.4.8/configure ffmpeg-0.4.8-uclibc/configure *** ffmpeg-0.4.8/configure 2003-09-29 00:26:39.000000000 +0900 --- ffmpeg-0.4.8-uclibc/configure 2005-02-07 13:06:20.000000000 +0900 *************** *** 204,210 **** "/usr/include/inttypes.h !!!" ;; Linux) ! LDFLAGS="$LDFLAGS -rdynamic" ;; OS/2) TMPE=$TMPE".exe" --- 204,210 ---- "/usr/include/inttypes.h !!!" ;; Linux) ! LDFLAGS="$LDFLAGS -static" ;; OS/2) TMPE=$TMPE".exe" *************** *** 536,542 **** else # if cross compiling, cannot launch a program, so make a static guess ! if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then bigendian="yes" fi --- 536,542 ---- else # if cross compiling, cannot launch a program, so make a static guess ! if test "$cpu" = "powerpc" ; then bigendian="yes" fi diff -cNr ffmpeg-0.4.8/libavcodec/ac3enc.c ffmpeg-0.4.8-uclibc/libavcodec/ac3enc.c *** ffmpeg-0.4.8/libavcodec/ac3enc.c 2003-09-29 00:26:39.000000000 +0900 --- ffmpeg-0.4.8-uclibc/libavcodec/ac3enc.c 2005-02-07 13:06:08.000000000 +0900 *************** *** 292,298 **** static void fft_init(int ln) { int i, j, m, n; ! float alpha; n = 1 << ln; --- 292,298 ---- static void fft_init(int ln) { int i, j, m, n; ! double alpha; n = 1 << ln; *************** *** 820,826 **** int channels = avctx->channels; AC3EncodeContext *s = avctx->priv_data; int i, j, ch; ! float alpha; static const uint8_t acmod_defs[6] = { 0x01, /* C */ 0x02, /* L R */ --- 820,826 ---- int channels = avctx->channels; AC3EncodeContext *s = avctx->priv_data; int i, j, ch; ! double alpha; static const uint8_t acmod_defs[6] = { 0x01, /* C */ 0x02, /* L R */ diff -cNr ffmpeg-0.4.8/libavcodec/eval.c ffmpeg-0.4.8-uclibc/libavcodec/eval.c *** ffmpeg-0.4.8/libavcodec/eval.c 2003-09-29 00:26:39.000000000 +0900 --- ffmpeg-0.4.8-uclibc/libavcodec/eval.c 2005-02-07 13:06:08.000000000 +0900 *************** *** 34,39 **** --- 34,40 ---- #include #include + #undef NAN #ifndef NAN #define NAN 0 #endif diff -cNr ffmpeg-0.4.8/libavcodec/fft.c ffmpeg-0.4.8-uclibc/libavcodec/fft.c *** ffmpeg-0.4.8/libavcodec/fft.c 2003-09-29 00:26:39.000000000 +0900 --- ffmpeg-0.4.8-uclibc/libavcodec/fft.c 2005-02-07 13:06:08.000000000 +0900 *************** *** 31,37 **** int fft_init(FFTContext *s, int nbits, int inverse) { int i, j, m, n; ! float alpha, c1, s1, s2; s->nbits = nbits; n = 1 << nbits; --- 31,37 ---- int fft_init(FFTContext *s, int nbits, int inverse) { int i, j, m, n; ! double alpha, c1, s1, s2; s->nbits = nbits; n = 1 << nbits; diff -cNr ffmpeg-0.4.8/libavcodec/mdct.c ffmpeg-0.4.8-uclibc/libavcodec/mdct.c *** ffmpeg-0.4.8/libavcodec/mdct.c 2003-09-29 00:26:39.000000000 +0900 --- ffmpeg-0.4.8-uclibc/libavcodec/mdct.c 2005-02-07 13:06:08.000000000 +0900 *************** *** 29,35 **** int ff_mdct_init(MDCTContext *s, int nbits, int inverse) { int n, n4, i; ! float alpha; memset(s, 0, sizeof(*s)); n = 1 << nbits; --- 29,35 ---- int ff_mdct_init(MDCTContext *s, int nbits, int inverse) { int n, n4, i; ! double alpha; memset(s, 0, sizeof(*s)); n = 1 << nbits;