diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-04 14:02:30 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-23 05:19:12 -0700 |
commit | 2deac60a387409dcbc7b37a8c30de89c7aeb58ac (patch) | |
tree | 97744c6b4fcf567ed85d01e39aeb1679a459ac9a /doc/APIchanges | |
parent | 3eed35addb461c42471e0367bb6cd68d8ffd3aec (diff) | |
download | ffmpeg-2deac60a387409dcbc7b37a8c30de89c7aeb58ac.tar.gz |
adpcmenc: Calculate the IMA_QT predictor without overflow
Previously, the value given to put_bits was 10 bits long for positive
predictors, even though 9 bits were to be written. The extra bit could
in some cases overwrite existing bits in the bitstream writer cache.
This fixes a failed assert in put_bits.h, when running a version
built with -DDEBUG.
The fate test result gets slightly improved, thanks to getting rid
of the overwritten bits in the bitstream writer cache.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit aa264da5bf6a3d82a47abba4cfcfa629dd1f3daa)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Conflicts:
tests/ref/fate/acodec-adpcm-ima_qt
Diffstat (limited to 'doc/APIchanges')
0 files changed, 0 insertions, 0 deletions