mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-21 08:45:06 +02:00
workaround sign bug
Originally committed as revision 7864 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
21ac1d47d1
commit
a1fd944f73
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user