ffmpeg/tests
Michael Niedermayer 2deac60a38 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 aa264da5bf)
Signed-off-by: Diego Biurrun <diego@biurrun.de>

Conflicts:
	tests/ref/fate/acodec-adpcm-ima_qt
2014-08-23 05:19:12 -07:00
..
fate fate: add some shorthands to run groups of tests 2012-01-19 00:45:21 +01:00
ref adpcmenc: Calculate the IMA_QT predictor without overflow 2014-08-23 05:19:12 -07:00
audiogen.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
base64.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
codec-regression.sh fate: add ADX encoding/decoding test 2012-01-03 18:47:42 -05:00
fate-run.sh
fate.sh
lavf-regression.sh
lavfi-regression.sh
lena.pnm
Makefile fate: fetch samples that match the release series 2013-03-23 14:46:45 +01:00
md5.sh
regression-funcs.sh
rotozoom.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
tiny_psnr.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
videogen.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00