From 1e04bbeede593ac0b84c684838cb4e76e294ae5b Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Thu, 19 Feb 2009 12:19:33 +0000 Subject: [PATCH] AVI demuxer: return AVERROR_EOF upon detection of end of file. Originally committed as revision 17456 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avidec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 69c9051cea..e3cc14c958 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -870,7 +870,7 @@ resync: } } - return -1; + return AVERROR_EOF; } /* XXX: We make the implicit supposition that the positions are sorted