[FFmpeg-cvslog] bethsoftvid: signal EOF

Piotr Bandurski git at videolan.org
Wed Nov 21 23:37:05 CET 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Nov 21 17:04:22 2012 +0100| [1ed7ca00dccb7dfe821be324c62e7937a1327393] | committer: Michael Niedermayer

bethsoftvid: signal EOF

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ed7ca00dccb7dfe821be324c62e7937a1327393
---

 libavformat/bethsoftvid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/bethsoftvid.c b/libavformat/bethsoftvid.c
index f17031a..831bdd2 100644
--- a/libavformat/bethsoftvid.c
+++ b/libavformat/bethsoftvid.c
@@ -210,7 +210,7 @@ static int vid_read_packet(AVFormatContext *s,
     int ret_value;
 
     if(vid->is_finished || url_feof(pb))
-        return AVERROR(EIO);
+        return AVERROR_EOF;
 
     block_type = avio_r8(pb);
     switch(block_type){



More information about the ffmpeg-cvslog mailing list