ext/flac/: length is already host endian, no need to convert. Fixes playback of tagged files on PPC. (bug #128384)

Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/flac/gstflacenc.c: (add_one_tag):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC. (bug #128384)
This commit is contained in:
Benjamin Otte 2004-01-14 00:15:44 +00:00
parent ab09da70c0
commit 6796f7f2d1
2 changed files with 3 additions and 2 deletions

View file

@ -1,8 +1,9 @@
2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/flac/gstflacenc.c: (add_one_tag):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC.
tagged files on PPC. (bug #128384)
2004-01-13 Julien MOUTTE <julien@moutte.net>

View file

@ -476,7 +476,7 @@ add_one_tag (const GstTagList *list, const gchar *tag,
comments = gst_tag_to_vorbis_comments (list, tag);
for (it = comments; it != NULL; it = it->next) {
FLAC__StreamMetadata_VorbisComment_Entry commment_entry;
commment_entry.length = GUINT32_TO_LE (strlen(it->data));
commment_entry.length = strlen(it->data);
commment_entry.entry = it->data;
FLAC__metadata_object_vorbiscomment_insert_comment (flacenc->meta[0],
flacenc->meta[0]->data.vorbis_comment.num_comments,