From 446263879b96f03cffe486e97b14b4e28a61f6ab Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 24 Oct 2007 21:44:20 +0000 Subject: [PATCH] avoid infinite loop at the end of files which are not properly terminated Originally committed as revision 10857 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/electronicarts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 08c2840..b17f282 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -335,6 +335,7 @@ static int ea_read_packet(AVFormatContext *s, break; /* ending tag */ + case 0: case SCEl_TAG: ret = AVERROR(EIO); packet_read = 1; -- 2.7.4