From 9e13de6621f72f8021004aba5c247f283ac34173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 17 Apr 2007 08:04:43 +0000 Subject: gst/mve/gstmvedemux.c: Use G_LITTLE_ENDIAN instead of LITTLE_ENDIAN, so stuff compiles on Original commit message from CVS: * gst/mve/gstmvedemux.c: (gst_mve_audio_init): Use G_LITTLE_ENDIAN instead of LITTLE_ENDIAN, so stuff compiles on MingW (no idea though why we add a BYTE_ORDER endianness field if the audio is compressed). --- ChangeLog | 7 +++++++ gst/mve/gstmvedemux.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 05aaae17..1c3e86f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-04-17 Tim-Philipp Müller + + * gst/mve/gstmvedemux.c: (gst_mve_audio_init): + Use G_LITTLE_ENDIAN instead of LITTLE_ENDIAN, so stuff compiles on + MingW (no idea though why we add a BYTE_ORDER endianness field if + the audio is compressed). + 2007-04-14 Sebastien Moutte * docs/plugins/inspect/plugin-directdraw.xml: diff --git a/gst/mve/gstmvedemux.c b/gst/mve/gstmvedemux.c index ce27b324..547d92ef 100644 --- a/gst/mve/gstmvedemux.c +++ b/gst/mve/gstmvedemux.c @@ -706,7 +706,7 @@ gst_mve_audio_init (GstMveDemux * mve, guint8 version, const guint8 * data, /* for uncompressed audio we can simply copy the incoming buffer which is always in little endian format */ gst_caps_set_simple (stream->caps, "endianness", G_TYPE_INT, - (stream->compression ? G_BYTE_ORDER : LITTLE_ENDIAN), NULL); + (stream->compression ? G_BYTE_ORDER : G_LITTLE_ENDIAN), NULL); } else if (stream->compression) { GST_WARNING_OBJECT (mve, "compression is only supported for 16-bit samples"); -- cgit v1.2.1