1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00
FFmpeg/libavcodec
Michael Niedermayer aa264da5bf 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>
2012-09-04 15:30:58 +03:00
..
2012-04-21 18:56:19 +01:00
2012-03-26 13:00:10 +02:00
2012-03-26 13:00:10 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-06-08 13:14:38 -04:00
2012-05-05 22:04:21 +01:00
2012-05-05 22:04:21 +01:00
2012-05-05 22:04:21 +01:00
2012-05-05 22:04:21 +01:00
2012-05-05 22:04:21 +01:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-26 14:03:56 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-07 16:00:24 +02:00
2012-08-26 14:03:57 +02:00
2012-08-26 14:03:57 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-07-05 21:57:51 +01:00
2012-08-15 22:32:06 +03:00
2012-08-30 18:21:12 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-28 17:43:25 +02:00
2012-08-28 17:43:25 +02:00
2012-08-28 17:43:25 +02:00
2012-08-13 17:59:21 +01:00
2012-08-15 22:32:06 +03:00
2012-04-21 18:56:19 +01:00
2012-08-15 22:32:06 +03:00
2012-08-09 10:50:27 +02:00
2012-03-28 07:06:47 -07:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-09-03 11:33:49 +02:00
2012-08-22 17:44:43 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-14 19:28:50 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-03-21 12:49:36 -04:00
2012-08-15 22:32:06 +03:00
2012-03-19 18:46:34 +01:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-03-12 11:37:47 -07:00
2012-08-15 22:32:06 +03:00
2012-03-07 10:29:52 -08:00
2012-03-06 10:47:42 -08:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-24 10:45:39 +01:00
2012-07-11 07:29:05 +02:00
2012-08-20 11:22:59 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-07 16:00:24 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-14 12:48:46 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-07-03 17:35:11 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00