mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
aiffparse: fix SSND data size
AIFF chunk size does not include the chunk header size (8 bytes), so the SSND data size is equal to the chunk size minus the SSND header size (8 bytes). https://bugzilla.gnome.org/show_bug.cgi?id=705675
This commit is contained in:
parent
28609ca93c
commit
0d4c2f42e9
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ gst_aiff_parse_stream_headers (GstAiffParse * aiff)
|
|||
|
||||
/* 8 byte chunk header, 8 byte SSND header */
|
||||
aiff->offset += 16;
|
||||
datasize = size - 16;
|
||||
datasize = size - 8;
|
||||
|
||||
aiff->datastart = aiff->offset + aiff->ssnd_offset;
|
||||
/* file might be truncated */
|
||||
|
|
Loading…
Reference in a new issue