提交 44626387 编写于 作者: A Aurelien Jacobs

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
上级 e7583962
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册