From e472f0ea5a025b61b7c208661a4bc31091a3c2c2 Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Thu, 2 Jun 2011 17:04:42 +0100 Subject: [PATCH] wav: fix skip size at end of ds64 chunk --- libavformat/wav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/wav.c b/libavformat/wav.c index b475d0cb49..34b957121e 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -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 (;;) {