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

diff --git a/libavformat/wv.c b/libavformat/wv.c
index 49ca486..0b6a406 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -254,7 +254,7 @@ static int wv_read_packet(AVFormatContext *s,
     uint32_t block_samples;
 
     if (s->pb->eof_reached)
-        return AVERROR(EIO);
+        return AVERROR_EOF;
     if(wc->block_parsed){
         if(wv_read_block_header(s, s->pb, 0) < 0)
             return -1;
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to