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).
This commit is contained in:
Tim-Philipp Müller 2007-04-17 08:04:43 +00:00
parent 97041d869a
commit 9e13de6621
2 changed files with 8 additions and 1 deletions

View file

@ -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> 2007-04-14 Sebastien Moutte <sebastien@moutte.net>
* docs/plugins/inspect/plugin-directdraw.xml: * docs/plugins/inspect/plugin-directdraw.xml:

View file

@ -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 /* for uncompressed audio we can simply copy the incoming buffer
which is always in little endian format */ which is always in little endian format */
gst_caps_set_simple (stream->caps, "endianness", G_TYPE_INT, 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) { } else if (stream->compression) {
GST_WARNING_OBJECT (mve, GST_WARNING_OBJECT (mve,
"compression is only supported for 16-bit samples"); "compression is only supported for 16-bit samples");