Commit ccc10acb authored by Anton Khirnov's avatar Anton Khirnov

wv: return AVERROR_EOF on EOF, not EIO.

parent f73e3938
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment