summaryrefslogtreecommitdiff
path: root/libavformat/wav.c
diff options
context:
space:
mode:
authorPhilip de Nier <philipn@rd.bbc.co.uk>2011-06-02 17:04:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-06-03 15:48:08 +0200
commite472f0ea5a025b61b7c208661a4bc31091a3c2c2 (patch)
tree24bdcde71c2efca8013028479e0546795cef963d /libavformat/wav.c
parent99eb31e263a24bc6c5a7a3f455a2bcb04a60e70e (diff)
wav: fix skip size at end of ds64 chunk
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 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 (;;) {