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).
This commit is contained in:
Ronald S. Bultje 2004-07-20 21:06:35 +00:00
parent 02ef2b6e5f
commit b317ec2be2
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2004-07-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
* 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 <ds@schleef.org>
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate):

View file

@ -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,