Mercurial > libavcodec.hg
changeset 4492:245a46e76b00 libavcodec
10l use of uninitalized var
author | michael |
---|---|
date | Tue, 06 Feb 2007 22:20:55 +0000 |
parents | a6ca201dd590 |
children | e78c415815f3 |
files | wmaenc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/wmaenc.c Tue Feb 06 21:12:48 2007 +0000 +++ b/wmaenc.c Tue Feb 06 22:20:55 2007 +0000 @@ -179,7 +179,7 @@ } 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); } } @@ -213,7 +213,7 @@ v = 0; 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); v |= a; }