Commit 8992d655 authored by michael's avatar michael

10l use of uninitalized var


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7863 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 73b1797a
...@@ -179,7 +179,7 @@ static int encode_block(WMADecodeContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], ...@@ -179,7 +179,7 @@ static int encode_block(WMADecodeContext *s, float (*src_coefs)[BLOCK_MAX_SIZE],
} }
for(ch = 0; ch < s->nb_channels; ch++) { for(ch = 0; ch < s->nb_channels; ch++) {
if (s->channel_coded[ch]) { if (s->channel_coded[ch]= 1) { //FIXME
init_exp(s, ch, fixed_exp); init_exp(s, ch, fixed_exp);
} }
} }
...@@ -213,7 +213,7 @@ static int encode_block(WMADecodeContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], ...@@ -213,7 +213,7 @@ static int encode_block(WMADecodeContext *s, float (*src_coefs)[BLOCK_MAX_SIZE],
v = 0; v = 0;
for(ch = 0; ch < s->nb_channels; ch++) { for(ch = 0; ch < s->nb_channels; ch++) {
int a = s->channel_coded[ch]=1; //FIXME int a = s->channel_coded[ch];
put_bits(&s->pb, 1, a); put_bits(&s->pb, 1, a);
v |= a; v |= a;
} }
......
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