Mercurial > libavformat.hg
diff mov.c @ 4972:595e9bd313fd libavformat
return AVERROR_EOF
author | bcoudurier |
---|---|
date | Sat, 30 May 2009 06:15:27 +0000 |
parents | 02e9151a011e |
children | 358aec79a573 |
line wrap: on
line diff
--- a/mov.c Sat May 30 04:08:43 2009 +0000 +++ b/mov.c Sat May 30 06:15:27 2009 +0000 @@ -2025,7 +2025,7 @@ 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; }