Commit d08a7c98 authored by michael's avatar michael

workaround sign bug


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7864 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8992d655
...@@ -290,7 +290,7 @@ static int encode_block(WMADecodeContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], ...@@ -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, coef_nb_bits, abs_level);
put_bits(&s->pb, s->frame_len_bits, run); 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; run=0;
}else{ }else{
run++; run++;
......
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