Andreas Cadhalpun
6f024dfd53
snow: remove an obsolete av_assert2
...
It asserts that the frame linesize is larger than 37, but it can be
smaller and decoding such frames works.
Before commit cc884a35 src_stride > 7*MB_SIZE was necessary, because the
blocks were interleaved in the tmp buffer and the last block was added
with an offset of 6*MB_SIZE.
It was changed for src_stride <= 7*MB_SIZE to write the blocks
sequentially, hence the larger tmp_step.
After that the assert was only necessary to make sure that the buffer
remained large enough.
Since commit bd2b6b33 s->scratchbuf is used as tmp buffer.
As part of commit 86e107a7 the minimal scratchbuf size was increased to
256*7*MB_SIZE, which is enough for any src_stride <= 7*MB_SIZE.
Also add a comment explaining the tmp_step calculation.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
(cherry picked from commit 3526a120f9 )
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
2015-11-26 01:38:17 +01:00
..
2015-02-13 20:48:08 +01:00
2015-02-13 20:48:09 +01:00
2015-03-29 03:34:22 +02:00
2015-10-25 01:20:42 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:21 +02:00
2015-07-08 23:37:51 +02:00
2015-08-20 14:38:28 +02:00
2015-03-29 03:34:22 +02:00
2015-05-06 03:20:49 +02:00
2015-08-20 14:38:26 +02:00
2015-05-05 21:41:26 +02:00
2015-07-08 23:37:51 +02:00
2015-04-25 15:06:54 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:23 +02:00
2015-03-29 03:34:22 +02:00
2015-08-20 14:29:11 +02:00
2015-03-29 03:34:22 +02:00
2015-03-09 00:31:23 +01:00
2015-08-20 14:38:27 +02:00
2014-05-25 03:04:14 +02:00
2015-08-20 14:29:11 +02:00
2015-01-18 02:57:48 +01:00
2015-06-01 23:25:21 +02:00
2015-08-20 14:29:11 +02:00
2015-04-25 15:06:54 +02:00
2015-01-18 02:59:01 +01:00
2015-06-01 23:25:19 +02:00
2015-08-20 14:38:27 +02:00
2015-01-18 02:34:25 +01:00
2015-06-01 23:25:21 +02:00
2014-10-04 23:52:29 +02:00
2015-01-18 02:02:00 +01:00
2015-06-01 23:25:21 +02:00
2015-08-20 14:38:28 +02:00
2014-11-01 13:28:14 +01:00
2015-08-20 14:38:27 +02:00
2015-03-29 03:34:23 +02:00
2015-01-18 02:34:25 +01:00
2015-08-20 14:38:25 +02:00
2015-01-18 02:15:10 +01:00
2014-11-01 13:28:14 +01:00
2015-02-13 20:48:08 +01:00
2015-03-29 03:34:23 +02:00
2015-03-09 01:18:06 +01:00
2015-06-19 11:25:52 +02:00
2015-03-29 03:34:22 +02:00
2015-10-09 22:07:46 +02:00
2015-10-09 22:07:46 +02:00
2015-10-09 22:07:46 +02:00
2015-10-09 22:07:46 +02:00
2015-02-13 20:48:09 +01:00
2013-05-05 19:29:00 +02:00
2014-11-30 21:40:36 +01:00
2015-03-29 03:34:22 +02:00
2015-08-20 14:38:28 +02:00
2015-01-13 00:16:41 +01:00
2015-02-16 18:08:45 +01:00
2014-12-20 12:15:25 +01:00
2015-06-01 23:25:21 +02:00
2015-01-12 23:14:26 +01:00
2014-10-04 23:52:29 +02:00
2015-02-28 19:18:24 +01:00
2015-08-21 03:40:15 +02:00
2015-04-25 15:06:54 +02:00
2015-04-25 15:06:54 +02:00
2015-04-25 15:06:54 +02:00
2014-11-05 10:13:26 +01:00
2015-08-20 14:38:26 +02:00
2015-04-25 15:06:54 +02:00
2015-04-25 15:06:54 +02:00
2014-11-01 13:06:25 +01:00
2015-06-19 11:25:23 +02:00
2015-10-09 22:09:54 +02:00
2015-06-01 23:25:20 +02:00
2015-10-09 22:09:54 +02:00
2015-10-09 22:09:54 +02:00
2015-01-18 01:59:36 +01:00
2015-11-26 01:38:17 +01:00
2015-08-20 14:11:30 +02:00
2015-01-13 00:16:41 +01:00
2015-01-18 02:34:25 +01:00
2015-08-20 14:14:53 +02:00
2015-08-20 14:29:11 +02:00
2014-12-20 10:51:40 +01:00
2015-08-20 14:29:12 +02:00
2015-06-03 03:22:17 +02:00
2015-01-18 03:27:11 +01:00
2015-06-01 23:25:21 +02:00
2015-01-18 02:24:53 +01:00
2015-05-19 20:15:15 +02:00
2015-03-29 03:34:22 +02:00
2015-03-09 00:44:49 +01:00
2015-06-01 23:25:20 +02:00
2015-05-19 22:01:58 +02:00
2014-12-20 10:51:41 +01:00
2014-12-02 12:57:20 +01:00
2015-01-17 23:00:30 +01:00
2015-06-01 23:25:20 +02:00
2014-11-30 21:40:36 +01:00
2015-04-25 15:06:54 +02:00
2012-11-14 03:17:52 +01:00
2014-11-05 09:52:29 +01:00
2014-11-06 01:02:53 +01:00
2015-11-26 01:38:17 +01:00
2015-06-01 23:25:19 +02:00
2015-02-13 20:48:08 +01:00
2015-08-20 14:38:27 +02:00
2015-03-09 01:22:01 +01:00
2015-05-30 16:30:22 +02:00
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:21 +02:00
2015-03-29 03:34:22 +02:00
2015-08-20 14:20:26 +02:00
2015-08-20 14:20:26 +02:00
2015-01-13 00:06:40 +01:00
2015-08-20 14:38:26 +02:00
2015-06-01 23:25:21 +02:00
2015-03-09 00:10:43 +01:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-08-20 14:38:27 +02:00
2015-06-01 23:25:19 +02:00
2015-01-13 00:16:40 +01:00
2015-02-13 20:48:09 +01:00
2014-11-30 21:40:36 +01:00
2015-08-20 14:38:26 +02:00
2015-01-18 02:00:21 +01:00
2015-05-19 12:03:48 +01:00
2015-03-09 01:23:24 +01:00
2015-08-20 14:38:27 +02:00
2015-11-26 01:38:17 +01:00
2015-03-29 03:34:22 +02:00
2015-08-20 14:38:27 +02:00
2015-08-20 14:38:26 +02:00
2014-11-01 13:28:14 +01:00
2015-06-01 23:25:21 +02:00
2014-12-20 12:20:46 +01:00
2015-06-01 23:25:21 +02:00
2015-11-26 01:38:17 +01:00
2015-03-29 03:34:21 +02:00
2015-08-20 14:29:12 +02:00
2015-01-18 00:05:18 +01:00
2015-08-20 14:38:28 +02:00
2014-10-04 23:52:29 +02:00
2015-08-20 14:29:11 +02:00
2015-03-29 03:34:22 +02:00
2015-01-18 02:00:54 +01:00
2015-08-20 14:38:27 +02:00
2015-03-09 00:51:48 +01:00
2014-11-01 13:28:13 +01:00
2015-01-17 23:58:28 +01:00
2015-11-26 01:38:17 +01:00
2014-12-16 19:38:08 +01:00
2015-03-09 00:27:53 +01:00
2015-08-20 14:38:28 +02:00
2015-08-20 14:29:12 +02:00
2015-11-26 01:38:16 +01:00
2015-11-26 01:38:16 +01:00
2015-11-26 01:38:16 +01:00
2015-11-26 01:38:16 +01:00
2015-11-26 01:38:16 +01:00
2015-06-01 23:25:20 +02:00
2015-11-26 01:38:17 +01:00
2015-03-29 03:28:38 +02:00
2015-08-20 14:38:27 +02:00
2014-11-30 21:40:36 +01:00
2015-08-20 14:38:26 +02:00
2015-01-17 23:01:33 +01:00
2015-03-29 03:34:22 +02:00