diff options
author | Andreas Cadhalpun <[email protected]> | 2016-11-09 01:09:35 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2016-11-27 00:46:35 +0100 |
commit | 0b948b1b8d100491934f00bc6d72009de0c99b05 (patch) | |
tree | 1ecb6e832759b757694c904c236cd18cb31ce2bc /libavutil/float_dsp.c | |
parent | f76947fd567f20287bc8ca8e692a59026bac19e7 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
(cherry picked from commit cdb5479c9ddc886f0b8661db585405ebab343e80)
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavutil/float_dsp.c')
0 files changed, 0 insertions, 0 deletions