summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-07-20 21:06:35 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-07-20 21:06:35 +0000
commitd5d62b8c619f0fc3fedb32d3bfd6f5e31663bb2d (patch)
treee57051f5c53cf680dbbb2958780791e5e63c8277 /gst-libs
parentcafcad6b2109c7686ff6da2787b6053f96fd3fb1 (diff)
downloadgst-plugins-bad-d5d62b8c619f0fc3fedb32d3bfd6f5e31663bb2d.tar.gz
gst-plugins-bad-d5d62b8c619f0fc3fedb32d3bfd6f5e31663bb2d.tar.bz2
gst-plugins-bad-d5d62b8c619f0fc3fedb32d3bfd6f5e31663bb2d.zip
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).
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/riff/riff-media.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
index de2a9838..20f8d0dc 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,