avcodec/indeo5: Do not leave frame_type set to an invalid value
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Jan 2018 23:24:49 +0000 (00:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commitc1a133b610def6b920e9a3dcd0bc9b7771e685a4
tree6f57448ec821d5d50003dc7b2bbfbf3fd99e14b3
parentadb0a29111b321357d65d7b8732d6321303410fd
avcodec/indeo5: Do not leave frame_type set to an invalid value

Fixes: null pointer dereference
Fixes: 5264/clusterfuzz-testcase-minimized-4621956621008896

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