Commit 350f2c2c authored by Baptiste Coudurier's avatar Baptiste Coudurier

return AVERROR_EOF

Originally committed as revision 18992 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent db5dc02b
...@@ -2025,7 +2025,7 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -2025,7 +2025,7 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
if (!url_is_streamed(s->pb) || if (!url_is_streamed(s->pb) ||
mov_read_default(mov, s->pb, (MOVAtom){ 0, 0, INT64_MAX }) < 0 || mov_read_default(mov, s->pb, (MOVAtom){ 0, 0, INT64_MAX }) < 0 ||
url_feof(s->pb)) url_feof(s->pb))
return -1; return AVERROR_EOF;
dprintf(s, "read fragments, offset 0x%llx\n", url_ftell(s->pb)); dprintf(s, "read fragments, offset 0x%llx\n", url_ftell(s->pb));
goto retry; goto retry;
} }
......
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