Mercurial > libavcodec.hg
diff wmaenc.c @ 4493:e78c415815f3 libavcodec
workaround sign bug
author | michael |
---|---|
date | Tue, 06 Feb 2007 23:58:02 +0000 |
parents | 245a46e76b00 |
children | 6ac364a4ce2b |
line wrap: on
line diff
--- a/wmaenc.c Tue Feb 06 22:20:55 2007 +0000 +++ b/wmaenc.c Tue Feb 06 23:58:02 2007 +0000 @@ -290,7 +290,7 @@ put_bits(&s->pb, coef_nb_bits, abs_level); put_bits(&s->pb, s->frame_len_bits, run); } - put_bits(&s->pb, 1, level > 0); + put_bits(&s->pb, 1, level < 0); //FIXME the sign is fliped somewhere run=0; }else{ run++;