bethsoftvid: signal EOF
authorPiotr Bandurski <ami_stuff@o2.pl>
Wed, 21 Nov 2012 16:04:22 +0000 (17:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Nov 2012 22:22:38 +0000 (23:22 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/bethsoftvid.c

index f17031a..831bdd2 100644 (file)
@@ -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){