Andreas Cadhalpun
2d89356641
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 3526a120f92929cb0a4009e403ee2f141030c487)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 26cb351452e76dc4a61028f277cf11b8d7abd74b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-23 01:37:30 +02:00
..
2015-03-13 13:04:32 +01:00
2015-03-06 14:37:44 +01:00
2015-03-01 00:06:42 +01:00
2015-06-19 10:34:33 +02:00
2015-03-13 13:04:31 +01:00
2015-03-03 13:57:42 +01:00
2015-03-03 13:57:42 +01:00
2015-05-14 19:13:58 +02:00
2015-03-06 13:36:25 +01:00
2015-05-14 19:06:36 +02:00
2015-07-20 04:43:41 +02:00
2015-05-14 19:05:41 +02:00
2015-05-14 19:05:54 +02:00
2015-03-14 04:42:15 +01:00
2015-03-14 04:42:15 +01:00
2015-03-14 14:26:10 +01:00
2015-03-14 04:42:15 +01:00
2015-07-20 04:43:39 +02:00
2015-02-26 20:14:00 +01:00
2015-03-03 20:41:44 +01:00
2015-07-20 04:43:41 +02:00
2015-07-20 04:43:39 +02:00
2015-05-14 19:07:47 +02:00
2015-02-28 23:41:36 +01:00
2015-07-20 04:43:39 +02:00
2015-05-15 10:04:50 +02:00
2015-03-02 21:27:21 +01:00
2015-02-28 23:41:36 +01:00
2015-07-20 04:43:39 +02:00
2015-07-20 04:43:41 +02:00
2015-05-15 10:04:51 +02:00
2015-03-04 19:28:53 +01:00
2015-03-04 19:28:53 +01:00
2015-03-04 19:28:53 +01:00
2015-03-04 19:28:53 +01:00
2015-05-15 20:40:26 +02:00
2015-07-20 04:43:41 +02:00
2015-02-27 16:53:37 +01:00
2015-03-28 20:01:22 +01:00
2015-07-20 04:43:40 +02:00
2015-06-19 10:32:20 +02:00
2015-02-27 19:17:23 +01:00
2015-03-14 14:26:28 +01:00
2015-06-19 10:37:30 +02:00
2015-02-26 20:14:00 +01:00
2015-05-15 10:04:50 +02:00
2015-06-19 10:26:41 +02:00
2015-02-26 20:14:00 +01:00
2015-02-26 20:14:00 +01:00
2015-02-28 23:58:29 +01:00
2015-02-28 23:58:29 +01:00
2015-07-20 04:43:38 +02:00
2015-04-11 22:01:46 +02:00
2015-04-11 22:01:46 +02:00
2015-04-11 22:01:46 +02:00
2015-07-20 04:43:41 +02:00
2015-04-11 22:01:46 +02:00
2015-04-11 22:01:46 +02:00
2015-03-02 19:32:23 +01:00
2015-06-19 10:27:32 +02:00
2015-05-15 10:04:51 +02:00
2015-05-15 23:56:52 +02:00
2015-03-28 11:59:04 +01:00
2015-03-13 13:04:32 +01:00
2015-02-27 09:30:13 +00:00
2015-07-23 01:35:29 +02:00
2015-07-20 04:43:39 +02:00
2015-03-02 04:08:09 +01:00
2015-03-06 11:31:29 +01:00
2015-07-20 04:43:40 +02:00
2015-07-20 04:43:39 +02:00
2015-05-15 23:55:29 +02:00
2015-03-02 21:27:21 +01:00
2015-05-15 10:04:50 +02:00
2015-03-04 21:58:53 +01:00
2015-03-14 04:42:15 +01:00
2015-05-15 10:04:51 +02:00
2015-06-19 10:55:06 +02:00
2015-06-19 10:55:06 +02:00
2015-02-27 16:53:25 +01:00
2015-05-15 10:04:51 +02:00
2015-05-14 19:06:54 +02:00
2015-05-15 10:04:50 +02:00
2015-07-23 01:33:34 +02:00
2015-07-20 04:43:39 +02:00
2015-07-20 04:43:41 +02:00
2015-06-19 10:55:02 +02:00
2015-05-14 19:05:11 +02:00
2015-02-28 23:41:36 +01:00
2015-02-26 20:14:00 +01:00
2015-05-15 10:04:51 +02:00
2015-03-13 13:04:31 +01:00
2015-03-13 13:04:31 +01:00
2015-03-05 02:17:01 +01:00
2015-07-20 04:43:41 +02:00
2015-03-05 12:26:22 +01:00
2015-05-15 16:30:11 +02:00
2015-03-02 20:01:28 +01:00
2015-03-02 21:27:21 +01:00
2015-03-02 22:52:49 +01:00
2015-07-23 01:35:37 +02:00
2015-07-20 04:43:39 +02:00
2015-03-02 21:27:21 +01:00
2015-07-20 04:43:41 +02:00
2015-03-13 13:04:31 +01:00
2015-03-05 19:43:25 +01:00
2015-07-20 04:43:41 +02:00
2015-02-26 20:14:00 +01:00
2015-03-06 20:42:43 +01:00
2015-07-20 04:43:41 +02:00
2015-07-20 04:43:41 +02:00
2015-05-15 17:45:06 +02:00
2015-05-15 17:52:07 +02:00
2015-02-27 16:53:37 +01:00
2015-02-25 21:30:08 +01:00
2015-07-23 01:37:30 +02:00
2015-07-20 04:43:40 +02:00
2015-07-20 04:43:39 +02:00
2015-03-13 13:04:31 +01:00
2015-07-20 04:43:41 +02:00
2015-03-02 21:27:21 +01:00
2015-02-27 19:08:09 +01:00
2015-02-27 19:08:09 +01:00
2015-03-02 21:27:21 +01:00
2015-03-02 21:27:21 +01:00
2015-03-02 21:27:21 +01:00
2015-03-02 21:27:21 +01:00
2015-02-28 17:06:10 +01:00
2015-07-23 01:33:48 +02:00
2015-02-28 23:41:36 +01:00
2015-07-20 04:43:41 +02:00
2015-07-20 04:43:40 +02:00
2015-07-20 04:43:41 +02:00
2015-05-15 10:04:51 +02:00
2015-07-23 01:37:07 +02:00
2015-07-23 01:37:17 +02:00
2015-02-28 23:41:36 +01:00
2015-03-04 01:23:54 +01:00
2015-07-20 04:43:41 +02:00
2015-07-20 04:43:40 +02:00
2015-03-02 21:27:21 +01:00
2015-03-02 21:27:21 +01:00
2015-03-02 21:27:21 +01:00