# HG changeset patch # User aurel # Date 1193262260 0 # Node ID 7f320fb9f1c9b23a036fd178884e675fba988cdb # Parent 7e9a23c3f20d22ef8d94c7888feed1d0de72489f avoid infinite loop at the end of files which are not properly terminated diff -r 7e9a23c3f20d -r 7f320fb9f1c9 electronicarts.c --- 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;