From 23dbeaabc115ec76225ed44d65ade7ed4d668885 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 28 Aug 2008 01:03:24 +0000 Subject: 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 --- gst/aiffparse/aiffparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c index 7616109a..f1ba94ac 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, -- cgit v1.2.1