[FFmpeg-devel] [PATCH] silence wmaenc.c:181: warning: suggest parentheses around assignment used as truth value
Benjamin Larsson
banan
Fri Feb 15 13:31:25 CET 2008
$topic
MvH
Benjamin Larsson
Index: libavcodec/wmaenc.c
===================================================================
--- libavcodec/wmaenc.c (revision 11936)
+++ libavcodec/wmaenc.c (working copy)
@@ -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);
}
}
More information about the ffmpeg-devel
mailing list