aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.h
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-27 00:46:35 +0100
commit0b948b1b8d100491934f00bc6d72009de0c99b05 (patch)
tree1ecb6e832759b757694c904c236cd18cb31ce2bc /libavformat/movenc.h
parentf76947fd567f20287bc8ca8e692a59026bac19e7 (diff)
downloadffmpeg-0b948b1b8d100491934f00bc6d72009de0c99b05.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 'libavformat/movenc.h')
0 files changed, 0 insertions, 0 deletions