summaryrefslogtreecommitdiff
path: root/libavformat/wv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r--libavformat/wv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c
index 49ca486a93..0b6a406654 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;