mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/aiffparse/aiffparse.c: Read size of chunks preceeding the audio data with the correct endianness. Fixes playback ...
Original commit message from CVS: * gst/aiffparse/aiffparse.c: Read size of chunks preceeding the audio data with the correct endianness. Fixes playback of some files. Fixes #538500
This commit is contained in:
parent
a8661bc4de
commit
23dbeaabc1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-08-27 Michael Smith <msmith@songbirdnest.com>
|
||||||
|
|
||||||
|
* gst/aiffparse/aiffparse.c:
|
||||||
|
Read size of chunks preceeding the audio data with the
|
||||||
|
correct endianness. Fixes playback of some files.
|
||||||
|
Fixes #538500
|
||||||
|
|
||||||
2008-08-27 Michael Smith <msmith@songbirdnest.com>
|
2008-08-27 Michael Smith <msmith@songbirdnest.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -813,7 +813,7 @@ gst_aiffparse_stream_headers (AIFFParse * aiff)
|
||||||
&buf)) != GST_FLOW_OK)
|
&buf)) != GST_FLOW_OK)
|
||||||
goto header_read_error;
|
goto header_read_error;
|
||||||
tag = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf));
|
tag = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf));
|
||||||
size = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf) + 4);
|
size = GST_READ_UINT32_BE (GST_BUFFER_DATA (buf) + 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_INFO_OBJECT (aiff,
|
GST_INFO_OBJECT (aiff,
|
||||||
|
|
Loading…
Reference in a new issue