Commit 178b59ab authored by aurel's avatar aurel

avoid infinite loop at the end of files which are not properly terminated

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10857 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f724f95a
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment