Skip to content
Snippets Groups Projects
Commit 44626387 authored by Aurelien Jacobs's avatar Aurelien Jacobs
Browse files

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
parent e7583962
No related branches found
No related tags found
No related merge requests found
...@@ -335,6 +335,7 @@ static int ea_read_packet(AVFormatContext *s, ...@@ -335,6 +335,7 @@ static int ea_read_packet(AVFormatContext *s,
break; break;
/* ending tag */ /* ending tag */
case 0:
case SCEl_TAG: case SCEl_TAG:
ret = AVERROR(EIO); ret = AVERROR(EIO);
packet_read = 1; packet_read = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment