From: Ronald S. Bultje Date: Tue, 20 Jul 2004 21:06:35 +0000 (+0000) Subject: gst-libs/gst/riff/riff-media.c: Fix double end-to-native symbol conversion (#148021). X-Git-Tag: 1.19.3~511^2~13952 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b317ec2be2ea198f74b86f0f0139f62c34093d78;p=platform%2Fupstream%2Fgstreamer.git gst-libs/gst/riff/riff-media.c: Fix double end-to-native symbol conversion (#148021). Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps_with_data): Fix double end-to-native symbol conversion (#148021). --- diff --git a/ChangeLog b/ChangeLog index 5f347ec..4a28eab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-20 Ronald Bultje + + * gst-libs/gst/riff/riff-media.c: + (gst_riff_create_audio_caps_with_data): + Fix double end-to-native symbol conversion (#148021). + 2004-07-20 David Schleef * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate): diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index de2a983..20f8d0d 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -358,9 +358,9 @@ gst_riff_create_audio_caps_with_data (guint16 codec_id, case GST_RIFF_WAVE_FORMAT_PCM: /* PCM */ if (strf != NULL) { - gint ba = GUINT16_FROM_LE (strf->blockalign); - gint ch = GUINT16_FROM_LE (strf->channels); - gint ws = GUINT16_FROM_LE (strf->size); + gint ba = strf->blockalign; + gint ch = strf->channels; + gint ws = strf->size; caps = gst_caps_new_simple ("audio/x-raw-int", "endianness", G_TYPE_INT, G_LITTLE_ENDIAN,