From ab09da70c08a5fd9af940cbf129d20f640ff3bf2 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 13 Jan 2004 23:59:51 +0000 Subject: [PATCH] ext/flac/gstflacdec.c: length is already host endian, no need to convert. Fixes playback of tagged files on PPC. Original commit message from CVS: 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. --- ChangeLog | 6 ++++++ ext/flac/gstflacdec.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) {