1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00

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
This commit is contained in:
Aurelien Jacobs 2007-10-24 21:44:20 +00:00
parent e758396268
commit 446263879b

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;