Files
ffmpeg/libavcodec
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-03-29 03:34:22 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-08-20 14:29:11 +02:00
2014-08-24 11:05:42 +00:00
2014-08-18 02:51:34 +02:00
2015-08-20 14:29:11 +02:00
2014-10-04 23:52:28 +02:00
2014-09-06 20:59:20 +02:00
2014-09-06 20:59:20 +02:00
2015-06-01 23:25:21 +02:00
2014-08-24 11:05:42 +00:00
2015-06-01 23:25:21 +02:00
2015-08-20 14:38:28 +02:00
2014-08-24 11:05:42 +00:00
2014-08-14 13:35:24 +02:00
2014-11-01 13:28:14 +01:00
2015-03-29 03:34:23 +02:00
2015-06-19 11:25:52 +02:00
2014-08-24 11:05:42 +00:00
2015-11-26 01:38:17 +01:00
2014-08-25 23:12:30 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-12-20 10:51:40 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-09 23:20:31 +02:00
2014-08-05 01:54:47 +02:00
2014-12-20 10:51:41 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-19 13:35:44 +00:00
2014-08-15 22:47:45 +02:00
2015-01-13 00:16:40 +01:00
2015-02-13 20:48:09 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-11-26 01:38:17 +01:00
2014-11-01 13:28:14 +01:00
2014-08-31 10:25:36 +02:00
2014-08-29 18:57:25 +02:00
2014-07-18 13:31:19 +02:00
2015-11-26 01:38:17 +01:00
2015-03-29 03:34:21 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-08-20 14:38:28 +02:00
2014-10-04 23:52:29 +02:00
2014-07-12 22:33:27 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-06-01 23:25:20 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00