FFmpeg/libavcodec
Andreas Cadhalpun 039a3e6db8 pnmdec: make sure v is capped by maxval
Otherwise put_bits can be called with a value that doesn't fit in the
sample_len, causing an assertion failure.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit cdb5479c9ddc886f0b8661db585405ebab343e80)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-11-17 23:17:58 +01:00
..
2016-07-19 23:25:01 +02:00
2016-10-21 23:58:47 +02:00
2016-11-17 23:11:34 +01:00
2016-10-21 23:58:47 +02:00
2016-10-19 10:50:52 +02:00
2016-09-26 21:42:17 +02:00
2016-09-12 15:57:51 -05:00
2016-10-09 20:09:00 +02:00
2016-08-26 02:10:42 +02:00
2016-10-21 23:58:47 +02:00
2016-10-21 20:39:27 +02:00
2016-09-21 13:40:04 +02:00
2016-11-17 23:15:42 +01:00
2016-08-25 02:40:59 +02:00
2016-10-21 23:58:47 +02:00
2016-08-18 23:36:18 +02:00
2016-09-15 21:48:28 +02:00
2016-09-15 21:48:28 +02:00
2016-09-09 16:35:37 +02:00
2016-09-09 16:35:37 +02:00
2016-08-19 14:24:13 +02:00
2016-07-27 10:19:40 +03:00
2016-07-27 10:19:40 +03:00
2016-08-28 11:18:16 +02:00
2016-08-28 11:18:16 +02:00
2016-11-17 23:13:19 +01:00
2016-10-21 23:58:47 +02:00
2016-09-03 14:23:32 +02:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2016-08-18 15:30:05 +02:00
2016-10-21 23:58:47 +02:00
2016-09-28 12:35:58 +01:00
2016-11-17 12:47:40 +01:00
2016-09-08 22:16:35 +02:00
2016-08-06 18:27:01 -03:00
2016-08-06 18:27:01 -03:00
2016-08-06 18:27:01 -03:00