diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-30 06:15:27 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-30 06:15:27 +0000 |
commit | 350f2c2cef6ef42975301cdfff4483868463f0fe (patch) | |
tree | 4abb9dd981ab643ad0d4f2461d22e7444caf8685 /libavformat/mov.c | |
parent | db5dc02bd7d31243d2c4f84294907d657ab3d070 (diff) | |
download | ffmpeg-350f2c2cef6ef42975301cdfff4483868463f0fe.tar.gz |
return AVERROR_EOF
Originally committed as revision 18992 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
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; } |