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:28:06 +0100 |
commit | a5ba9eab44da13bb0683193e2382f1bfd853a47e (patch) | |
tree | 85765068be7eb6fe46a24942bffdf95ba881f745 /doc/examples | |
parent | eaf79ac2d9c18bce3c1990dbf6722e90d9c788b1 (diff) | |
download | ffmpeg-a5ba9eab44da13bb0683193e2382f1bfd853a47e.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 'doc/examples')
0 files changed, 0 insertions, 0 deletions