mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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:
parent
dbc2f7c4a8
commit
5c97b148a9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue