diff avidec.c @ 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 3cede8e0a614
children a36f9f2eefcb
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