aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-12-20 19:52:17 +0100
committerNicolas George <nicolas.george@normalesup.org>2011-12-21 19:23:03 +0100
commit20af3af575527db6122253b049d9888d3258492c (patch)
tree840bf81338ebec613e4101128bf76414845d5c12 /libavformat
parenta40f6a5c698e314ab8c2770c1230ae0d0bd23a33 (diff)
downloadffmpeg-20af3af575527db6122253b049d9888d3258492c.tar.gz
mov: replace AVERROR(EOF) with AVERROR_EOF.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 3aa9381e54..e18c861edc 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -432,7 +432,7 @@ static int mov_read_dref(MOVContext *c, AVIOContext *pb, MOVAtom atom)
for (type = 0; type != -1 && avio_tell(pb) < next; ) {
if(url_feof(pb))
- return AVERROR(EOF);
+ return AVERROR_EOF;
type = avio_rb16(pb);
len = avio_rb16(pb);
av_log(c->fc, AV_LOG_DEBUG, "type %d, len %d\n", type, len);