diff options
author | Andreas Cadhalpun <[email protected]> | 2016-11-09 01:09:35 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2016-11-17 23:17:58 +0100 |
commit | 039a3e6db89289ea8fc74db52e45597c8b2f382b (patch) | |
tree | fb24e387c16397a008e51193cfbd072a745eb637 /doc/examples/qsvdec.c | |
parent | d8affeea82e5215463fc2288c64b42edda156e25 (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 'doc/examples/qsvdec.c')
0 files changed, 0 insertions, 0 deletions