avcodec/scpr: Fix use of uninitialized variable
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 27 Feb 2019 23:12:14 +0000 (00:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Mar 2019 23:24:44 +0000 (00:24 +0100)
commit67d030787e0b9b5350545bf2d2d64642d2c5ccb7
tree52fd92702b9067be49980c06fbaffac754f453e7
parentc90836cc3df3ab00dad329e51cebded37d276991
avcodec/scpr: Fix use of uninitialized variable

Fixes: Undefined shift
Fixes: 12911/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5677102915911680

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