Skip to content
Snippets Groups Projects
Commit a1fd944f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

workaround sign bug

Originally committed as revision 7864 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 21ac1d47
No related branches found
No related tags found
No related merge requests found
......@@ -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++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment