Commit e6cfc8ba authored by banan's avatar banan

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11940 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0c570391
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment