You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
wv: return AVERROR_EOF on EOF, not EIO.
This commit is contained in:
@@ -254,7 +254,7 @@ static int wv_read_packet(AVFormatContext *s,
|
|||||||
uint32_t block_samples;
|
uint32_t block_samples;
|
||||||
|
|
||||||
if (s->pb->eof_reached)
|
if (s->pb->eof_reached)
|
||||||
return AVERROR(EIO);
|
return AVERROR_EOF;
|
||||||
if(wc->block_parsed){
|
if(wc->block_parsed){
|
||||||
if(wv_read_block_header(s, s->pb, 0) < 0)
|
if(wv_read_block_header(s, s->pb, 0) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user