wav: fix skip size at end of ds64 chunk

This commit is contained in:
Philip de Nier 2011-06-02 17:04:42 +01:00 committed by Michael Niedermayer
parent 99eb31e263
commit e472f0ea5a

View File

@ -334,7 +334,7 @@ static int wav_read_header(AVFormatContext *s,
data_size, sample_count);
return AVERROR_INVALIDDATA;
}
avio_skip(pb, size - 16); /* skip rest of ds64 chunk */
avio_skip(pb, size - 24); /* skip rest of ds64 chunk */
}
for (;;) {