aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/generate_wave_table.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-09 01:09:35 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-12 01:36:47 +0100
commitcdb5479c9ddc886f0b8661db585405ebab343e80 (patch)
tree62061b31abfdac1ecd66b5655877bcf4777b7a2b /libavfilter/generate_wave_table.c
parent484151df7c8f4fb45229b9b3a585efd3faa62501 (diff)
downloadffmpeg-cdb5479c9ddc886f0b8661db585405ebab343e80.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>
Diffstat (limited to 'libavfilter/generate_wave_table.c')
0 files changed, 0 insertions, 0 deletions