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-27 00:46:35 +0100 |
commit | 0b948b1b8d100491934f00bc6d72009de0c99b05 (patch) | |
tree | 1ecb6e832759b757694c904c236cd18cb31ce2bc /libavfilter/vf_owdenoise.c | |
parent | f76947fd567f20287bc8ca8e692a59026bac19e7 (diff) | |
download | ffmpeg-0b948b1b8d100491934f00bc6d72009de0c99b05.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_owdenoise.c')
0 files changed, 0 insertions, 0 deletions