diff --git a/ChangeLog b/ChangeLog index a89f7cfcdf..c648b8030d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-08-27 Michael Smith + + * 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 * configure.ac: diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c index 7616109ae1..f1ba94ac2f 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,