aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2008-02-15 13:44:08 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2008-02-15 13:44:08 +0000
commitad40b1539438a779282a61767766eb658386e072 (patch)
tree4504674b808b512bb083c371fe259087761b8935
parente942293db183d4aac355c144d5fcdf258e1796a4 (diff)
downloadffmpeg-ad40b1539438a779282a61767766eb658386e072.tar.gz
silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value
Originally committed as revision 11940 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/wmaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c
index b26abf348c..f2feee2f63 100644
--- a/libavcodec/wmaenc.c
+++ b/libavcodec/wmaenc.c
@@ -178,7 +178,7 @@ static int encode_block(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE],
}
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);
}
}