diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index df8e7ee531..8e5e7f9581 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -729,6 +729,7 @@ get_video_packet: ret = av_get_packet(pb, pkt, chunk_size); if (ret < 0) { packet_read = 1; + partial_packet = 0; break; } partial_packet = chunk_type == MVIh_TAG;