summaryrefslogtreecommitdiffstats
path: root/libavutil/float_dsp.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2016-11-09 01:09:35 +0100
committerAndreas Cadhalpun <[email protected]>2016-11-27 00:46:35 +0100
commit0b948b1b8d100491934f00bc6d72009de0c99b05 (patch)
tree1ecb6e832759b757694c904c236cd18cb31ce2bc /libavutil/float_dsp.c
parentf76947fd567f20287bc8ca8e692a59026bac19e7 (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