From 5c97b148a9c47ebd04af2bed614570cf1cbf5268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 24 Mar 2011 09:58:45 +0100 Subject: [PATCH] aiffparse: The SSND header is 16 bytes large, not 8 + 16 bytes Fixes bug #645568 and playback in pull mode for sample widths > 8 that are not a multiple of 2 bytes (e.g. 24 bit samples). --- gst/aiff/aiffparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index fee870c253..3107c57dd0 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -842,8 +842,8 @@ gst_aiff_parse_stream_headers (GstAiffParse * aiff) } else { gst_buffer_unref (ssndbuf); } - /* 8 byte chunk header, 16 byte SSND header */ - aiff->offset += 24; + /* 8 byte chunk header, 8 byte SSND header */ + aiff->offset += 16; datasize = size - 16;