Commit e472f0ea authored by Philip de Nier's avatar Philip de Nier Committed by Michael Niedermayer

wav: fix skip size at end of ds64 chunk

parent 99eb31e2
...@@ -334,7 +334,7 @@ static int wav_read_header(AVFormatContext *s, ...@@ -334,7 +334,7 @@ static int wav_read_header(AVFormatContext *s,
data_size, sample_count); data_size, sample_count);
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
avio_skip(pb, size - 16); /* skip rest of ds64 chunk */ avio_skip(pb, size - 24); /* skip rest of ds64 chunk */
} }
for (;;) { for (;;) {
......
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