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>
Wed, 31 Jan 2018 22:47:16 +0000 (23:47 +0100)
commita0c366b1f57cbe044fc9702cc9d7f609d116fc9c
tree236cd7a47634bbff3b18daaf06ab25d79d9953ab
parent4abdd6535628b0c5ea468c30329aa237d55dd25b
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