[FFmpeg-cvslog] r11940 - trunk/libavcodec/wmaenc.c

banan subversion
Fri Feb 15 14:44:08 CET 2008


Author: banan
Date: Fri Feb 15 14:44:08 2008
New Revision: 11940

Log:
silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value

Modified:
   trunk/libavcodec/wmaenc.c

Modified: trunk/libavcodec/wmaenc.c
==============================================================================
--- trunk/libavcodec/wmaenc.c	(original)
+++ trunk/libavcodec/wmaenc.c	Fri Feb 15 14:44:08 2008
@@ -178,7 +178,7 @@ static int encode_block(WMACodecContext 
     }
 
     for(ch = 0; ch < s->nb_channels; ch++) {
-        if (s->channel_coded[ch]= 1) { //FIXME only set channel_coded when needed, instead of always
+        if ((s->channel_coded[ch]= 1)) { //FIXME only set channel_coded when needed, instead of always
             init_exp(s, ch, fixed_exp);
         }
     }




More information about the ffmpeg-cvslog mailing list