changeset 4541:a65e3b37f87e libavformat

AVI demuxer: return AVERROR_EOF upon detection of end of file.
author pross
date Thu, 19 Feb 2009 12:19:33 +0000
parents 5c738a83ac7c
children 241a66d33f49
files avidec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avidec.c	Thu Feb 19 00:27:57 2009 +0000
+++ b/avidec.c	Thu Feb 19 12:19:33 2009 +0000
@@ -870,7 +870,7 @@
         }
     }
 
-    return -1;
+    return AVERROR_EOF;
 }
 
 /* XXX: We make the implicit supposition that the positions are sorted