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).
This commit is contained in:
Sebastian Dröge 2011-03-24 09:58:45 +01:00
parent dbc2f7c4a8
commit 5c97b148a9

View file

@ -842,8 +842,8 @@ gst_aiff_parse_stream_headers (GstAiffParse * aiff)
} else { } else {
gst_buffer_unref (ssndbuf); gst_buffer_unref (ssndbuf);
} }
/* 8 byte chunk header, 16 byte SSND header */ /* 8 byte chunk header, 8 byte SSND header */
aiff->offset += 24; aiff->offset += 16;
datasize = size - 16; datasize = size - 16;