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  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC.
This commit is contained in:
Benjamin Otte 2004-01-13 23:59:51 +00:00
parent 27838eebc9
commit ab09da70c0
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
* 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 <julien@moutte.net>
* gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the

View file

@ -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)
{