summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-30 06:15:27 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-30 06:15:27 +0000
commit350f2c2cef6ef42975301cdfff4483868463f0fe (patch)
tree4abb9dd981ab643ad0d4f2461d22e7444caf8685
parentdb5dc02bd7d31243d2c4f84294907d657ab3d070 (diff)
return AVERROR_EOF
Originally committed as revision 18992 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index ef097a85ca..95341e6309 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2025,7 +2025,7 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
if (!url_is_streamed(s->pb) ||
mov_read_default(mov, s->pb, (MOVAtom){ 0, 0, INT64_MAX }) < 0 ||
url_feof(s->pb))
- return -1;
+ return AVERROR_EOF;
dprintf(s, "read fragments, offset 0x%llx\n", url_ftell(s->pb));
goto retry;
}