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: run avconv with -nostats flag 2011-10-09 16:53:12 +01:00
fate.sh fate.sh: Ignore errors from rm command during cleanup. 2011-09-22 17:39:30 +02:00
lavf-regression.sh fate-lavf-ts: use -mpegts_transport_stream_id option. 2011-11-18 11:01:46 +01:00
lavfi-regression.sh Make a copy of ffmpeg under a new name -- avconv. 2011-08-12 13:27:30 +02:00
lena.pnm
Makefile fate: fetch samples that match the release series 2013-03-23 14:46:45 +01:00
md5.sh regtest: add openssl to md5 alternatives 2011-01-18 20:48:24 +00:00
regression-funcs.sh fate: run avconv with -nostats flag 2011-10-09 16:53:12 +01:00
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