mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
10l use of uninitalized var
Originally committed as revision 7863 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d474299a0d
commit
21ac1d47d1
@ -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],
|
|||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user