changeset 4972:595e9bd313fd libavformat

return AVERROR_EOF
author bcoudurier
date Sat, 30 May 2009 06:15:27 +0000
parents cffc8ed619e9
children 3fcf732af3fe
files mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
     }