diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-09 01:09:35 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 23:17:58 +0100 |
commit | 039a3e6db89289ea8fc74db52e45597c8b2f382b (patch) | |
tree | fb24e387c16397a008e51193cfbd072a745eb637 /libavfilter/vf_psnr.c | |
parent | d8affeea82e5215463fc2288c64b42edda156e25 (diff) | |
download | ffmpeg-039a3e6db89289ea8fc74db52e45597c8b2f382b.tar.gz |
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>
Diffstat (limited to 'libavfilter/vf_psnr.c')
0 files changed, 0 insertions, 0 deletions