Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index e1ad08ea9a..1ac1e64517 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -256,7 +256,7 @@ static int wav_read_packet(AVFormatContext *s,
else
left = find_tag(s->pb, MKTAG('d', 'a', 't', 'a'));
if (left < 0)
- return AVERROR(EIO);
+ return AVERROR_EOF;
wav->data_end= url_ftell(s->pb) + left;
}