[FFmpeg-cvslog] r10857 - trunk/libavformat/electronicarts.c

aurel subversion
Wed Oct 24 23:44:20 CEST 2007


Author: aurel
Date: Wed Oct 24 23:44:20 2007
New Revision: 10857

Log:
avoid infinite loop at the end of files which are not properly terminated

Modified:
   trunk/libavformat/electronicarts.c

Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c	(original)
+++ trunk/libavformat/electronicarts.c	Wed Oct 24 23:44:20 2007
@@ -335,6 +335,7 @@ static int ea_read_packet(AVFormatContex
             break;
 
         /* ending tag */
+        case 0:
         case SCEl_TAG:
             ret = AVERROR(EIO);
             packet_read = 1;




More information about the ffmpeg-cvslog mailing list