diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/mve/gstmvedemux.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2007-04-17 Tim-Philipp Müller <tim at centricular dot net> + + * 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 <sebastien@moutte.net> * 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"); |