avformat/electronicarts: If no packet has been read at the end do not treat it as...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 30 Sep 2019 21:42:41 +0000 (23:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 1 Oct 2019 20:16:20 +0000 (22:16 +0200)
commitc4de49edc4652e2f17c8747a6dd9b36ff362017a
tree9b23abd86ec727fe310f67b49532dcfea9c48a33
parent87b7e141a6fda7f450aff4560b776d546af313ed
avformat/electronicarts: If no packet has been read at the end do not treat it as if theres a packet

Fixes: Assertion failure
Fixes: 17770/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5700606668308480

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/electronicarts.c