Browse Source

wv: return AVERROR_EOF on EOF, not EIO.

tags/n1.0
Anton Khirnov 13 years ago
parent
commit
ccc10acb5b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/wv.c

+ 1
- 1
libavformat/wv.c View File

@@ -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;


Loading…
Cancel
Save