changeset 6355:5a2c7290ddd3 libavcodec

silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value
author banan
date Fri, 15 Feb 2008 13:44:08 +0000
parents 0809b40d9b65
children afa99894d8d9
files wmaenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wmaenc.c	Fri Feb 15 12:04:35 2008 +0000
+++ b/wmaenc.c	Fri Feb 15 13:44:08 2008 +0000
@@ -178,7 +178,7 @@
     }
 
     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);
         }
     }