diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-02-06 23:58:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-02-06 23:58:02 +0000 |
commit | a1fd944f7389dffbd649db7c68fd466ad32d998c (patch) | |
tree | 65aad0544860b5100e5b3c19ea329df0089a8eda /libavcodec | |
parent | 21ac1d47d136fbf95613189a8ec9fd6efbea9048 (diff) | |
download | ffmpeg-a1fd944f7389dffbd649db7c68fd466ad32d998c.tar.gz |
workaround sign bug
Originally committed as revision 7864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index 6c687957c4..5f502d269c 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -290,7 +290,7 @@ static int encode_block(WMADecodeContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], 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++; |