undef av_always_inline before redefining
authorMåns Rullgård <mans@mansr.com>
Wed, 10 Mar 2010 12:29:44 +0000 (12:29 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 10 Mar 2010 12:29:44 +0000 (12:29 +0000)
Fixes numerous warnings with --enable-small or --disable-optimizations.

Originally committed as revision 22430 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 4164557..7806a21 100755 (executable)
--- a/configure
+++ b/configure
@@ -3058,6 +3058,7 @@ test -n "$malloc_prefix" &&
     echo "#define MALLOC_PREFIX $malloc_prefix" >>$TMPH
 
 if enabled small || disabled optimizations; then
+    echo "#undef  av_always_inline"  >> $TMPH
     echo "#define av_always_inline"  >> $TMPH
 fi