diff --git a/ChangeLog b/ChangeLog index 21975056eb..6895abd4cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-14 Benjamin Otte + + * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): + length is already host endian, no need to convert. Fixes playback of + tagged files on PPC. + 2004-01-13 Julien MOUTTE * gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index 6b9c71ee74..9b0fb5e71c 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -237,7 +237,7 @@ gst_flacdec_update_metadata (FlacDec *flacdec, const FLAC__StreamMetadata *metad for (cursor = 0; cursor < number_of_comments; cursor++) { str_ptr = metadata->data.vorbis_comment.comments[cursor].entry; - str_len = GUINT32_FROM_LE (metadata->data.vorbis_comment.comments[cursor].length); + str_len = metadata->data.vorbis_comment.comments[cursor].length; p_value = g_strstr_len ( str_ptr, str_len , "=" ); if (p_value) {