[FFmpeg-cvslog] c93: signal EOF
Piotr Bandurski
git at videolan.org
Sat Nov 24 16:06:53 CET 2012
ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Sat Nov 24 15:04:32 2012 +0000| [081bf60ec6a377d53dda979b7e9cf812c4882dc1] | committer: Paul B Mahol
c93: signal EOF
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=081bf60ec6a377d53dda979b7e9cf812c4882dc1
---
libavformat/c93.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/c93.c b/libavformat/c93.c
index 66516e9..93a61be 100644
--- a/libavformat/c93.c
+++ b/libavformat/c93.c
@@ -133,7 +133,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
if (c93->current_frame >= br->frames) {
if (c93->current_block >= 511 || !br[1].length)
- return AVERROR(EIO);
+ return AVERROR_EOF;
br++;
c93->current_block++;
c93->current_frame = 0;
More information about the ffmpeg-cvslog
mailing list