avcodec/mss3: Change types in rac_get_model_sym() to match the types they are initial...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 17:07:59 +0000 (19:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commitafbe970534ebeab60f373f91a6e576c92c98c5a2
treef4c99ca25c5a63f9b77a6c0af63421f3d06fa580
parentb9289fad4b0b132ccb4ec71543a79240016ecd6a
avcodec/mss3: Change types in rac_get_model_sym() to match the types they are initialized from

Fixes integer overflow
Fixes: 1372/clusterfuzz-testcase-minimized-5712192982745088

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 2ef0f392711445e173a56b2c073dedb021ae3783)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mss3.c