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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit38384cdd991cf6c7d28f365c368523d8c8066d3e
treec6c11f97e81e7d7785f75738c14ba1a13555fbd5
parent4019c2a67c6aafeadb93aa8fc741cc3915817597
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