summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2008-08-28 01:03:24 +0000
committerMichael Smith <msmith@xiph.org>2008-08-28 01:03:24 +0000
commit23dbeaabc115ec76225ed44d65ade7ed4d668885 (patch)
tree9e5607a878d3ba899dce4cd1b5c95c255cadecf7
parenta8661bc4de2ed86be02768497c9043b68f184c3a (diff)
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
-rw-r--r--ChangeLog7
-rw-r--r--gst/aiffparse/aiffparse.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a89f7cfcd..c648b8030 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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>
+
* configure.ac:
* gst/aiffparse/Makefile.am:
* gst/aiffparse/aiffparse.c:
diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c
index 7616109ae..f1ba94ac2 100644
--- a/gst/aiffparse/aiffparse.c
+++ b/gst/aiffparse/aiffparse.c
@@ -813,7 +813,7 @@ gst_aiffparse_stream_headers (AIFFParse * aiff)
&buf)) != GST_FLOW_OK)
goto header_read_error;
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,