Browse Source

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
tags/v0.5
Aurelien Jacobs 17 years ago
parent
commit
446263879b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/electronicarts.c

+ 1
- 0
libavformat/electronicarts.c View File

@@ -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;


Loading…
Cancel
Save