ffmpeg/libavcodec
Michael Niedermayer 2b7c0ae67c avcodec/dstdec: Replace AC overread check by sample rate check
Real files do skip coding 0 bits at the end, thus this kind of check
does not work reliable.

Fixes: Ticket 8770
Fixes: dst-256fs44-6ch-refdstencoder.dff

The samplerate is specified in ISO/IEC 14496-3:2005(E) as one of 3 fixed
values, this also can be used to limit the duration and avoid the timeout

This reverts commit f6df99dba1ae64b05d08fba8160d13eb9795042f.

(cherry picked from commit 1679f23beb3cfc3639352b3cbe7c08c00189c6b0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-07-03 11:51:17 +02:00
..
2015-08-22 06:16:31 +01:00
2014-06-15 12:11:46 +02:00
2020-07-02 10:42:09 +02:00
2015-11-21 08:51:49 -05:00
2017-05-29 14:08:07 +02:00
2017-10-03 19:47:37 -03:00
2016-10-09 20:09:00 +02:00
2014-04-22 20:44:31 +02:00
2019-11-11 20:18:46 +01:00
2017-05-08 12:30:09 +02:00
2017-07-07 15:29:57 -04:00
2017-03-20 09:23:15 +01:00
2019-11-11 20:18:47 +01:00
2016-07-11 23:30:11 +01:00
2018-01-05 03:35:48 +01:00
2020-07-01 13:33:45 +02:00
2017-10-03 19:47:37 -03:00
2018-06-15 22:31:13 +02:00
2017-05-23 15:25:11 +02:00
2019-11-11 20:18:45 +01:00
2019-11-11 20:18:48 +01:00
2017-02-21 00:40:20 +01:00
2015-08-11 23:16:35 +02:00
2016-01-31 15:44:11 -08:00
2017-04-23 14:27:47 +07:00
2010-05-25 14:23:48 +00:00
2020-07-01 13:33:45 +02:00
2020-07-01 13:33:45 +02:00
2017-07-12 20:36:13 +02:00
2016-08-17 12:16:42 +02:00
2016-03-07 11:17:31 +01:00
2018-02-24 17:06:31 +01:00
2016-08-28 11:18:16 +02:00
2019-11-11 20:18:46 +01:00
2017-10-03 19:47:37 -03:00
2016-09-17 13:23:56 +01:00
2019-03-21 10:42:52 +01:00
2016-09-17 13:23:56 +01:00
2016-11-15 22:01:08 +01:00
2017-02-03 20:16:30 +01:00
2019-11-11 20:18:47 +01:00
2017-01-11 16:02:10 +01:00
2017-02-21 00:40:20 +01:00
2020-07-01 13:33:44 +02:00
2012-07-05 02:54:34 +00:00
2020-07-02 10:43:52 +02:00
2020-07-01 13:33:45 +02:00
2012-06-29 20:43:30 +02:00
2014-02-21 16:57:26 -03:00
2020-07-01 13:33:44 +02:00
2017-08-07 13:09:41 +02:00
2020-07-01 13:33:44 +02:00
2017-07-26 06:13:05 +07:00
2017-07-11 13:22:02 +07:00
2019-11-11 20:18:47 +01:00
2016-06-23 00:42:16 +02:00
2010-06-25 08:19:20 +00:00
2014-08-31 10:25:36 +02:00
2019-11-11 20:18:46 +01:00
2020-07-02 10:42:09 +02:00
2019-03-21 10:42:51 +01:00
2016-08-06 18:27:01 -03:00
2020-07-02 10:48:28 +02:00
2019-11-11 20:18:48 +01:00
2019-11-11 20:18:48 +01:00
2017-10-04 23:14:37 +01:00
2019-03-21 10:42:51 +01:00
2017-02-02 01:12:07 +01:00
2019-11-11 20:18:46 +01:00
2019-11-11 20:18:48 +01:00
2019-11-11 20:18:47 +01:00
2019-11-11 20:18:47 +01:00
2017-11-26 21:41:19 +00:00
2019-11-11 20:18:47 +01:00
2017-11-26 21:41:19 +00:00
2017-09-22 01:33:22 +02:00
2017-07-24 17:52:42 +02:00
2019-03-21 10:42:52 +01:00