You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user