avcodec/lagarith: Check scale_factor
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 22:56:45 +0000 (00:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commit1c75d1b54b88d0a0a69d0c48bc1be8404d4bc0ac
treed78e2180e2707006a7c4edf7a7652e3d7957e723
parent5380abf7854fef03925df81ed7d172cee5be4572
avcodec/lagarith: Check scale_factor

Fixes: 1425/clusterfuzz-testcase-minimized-6295712339853312

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ed3c9b5b0dd5abb545c48e930e1c32c187b0776a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/lagarith.c