projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f73e393
)
wv: return AVERROR_EOF on EOF, not EIO.
author
Anton Khirnov
<anton@khirnov.net>
Sat, 28 Jul 2012 10:23:04 +0000 (12:23 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 28 Jul 2012 12:37:12 +0000 (14:37 +0200)
libavformat/wv.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/wv.c
b/libavformat/wv.c
index
49ca486
..
0b6a406
100644
(file)
--- 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;