diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-28 14:23:04 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-28 16:37:12 +0400 |
commit | ccc10acb5b941973acab49d64459bb110cc0a529 (patch) | |
tree | 8cf58fd3b7e1e2bca8eb61489c08e202383cb0cc /libavformat/wv.c | |
parent | f73e3938ac70524826664855210446c3739c4a5e (diff) |
wv: return AVERROR_EOF on EOF, not EIO.
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r-- | libavformat/wv.c | 2 |
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; |