changeset 2671:7f320fb9f1c9 libavformat

avoid infinite loop at the end of files which are not properly terminated
author aurel
date Wed, 24 Oct 2007 21:44:20 +0000
parents 7e9a23c3f20d
children 8345d33e23b3
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Wed Oct 24 20:49:42 2007 +0000
+++ b/electronicarts.c	Wed Oct 24 21:44:20 2007 +0000
@@ -335,6 +335,7 @@
             break;
 
         /* ending tag */
+        case 0:
         case SCEl_TAG:
             ret = AVERROR(EIO);
             packet_read = 1;