summaryrefslogtreecommitdiffstats
path: root/ext/gsm/gstgsmdec.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2009-03-04 11:07:52 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-03-04 11:07:52 +0100
commitb5d4c2a7bf82145e63c4cb964dd368a26a4ee7af (patch)
tree41539da5fbfd7b75e3a93735d67f0db8b79aba0a /ext/gsm/gstgsmdec.c
parent6dbf8906b5d2153e0304de9300ecf62a49f1a772 (diff)
downloadgst-plugins-bad-b5d4c2a7bf82145e63c4cb964dd368a26a4ee7af.tar.gz
gst-plugins-bad-b5d4c2a7bf82145e63c4cb964dd368a26a4ee7af.tar.bz2
gst-plugins-bad-b5d4c2a7bf82145e63c4cb964dd368a26a4ee7af.zip
gsmdec: Use G_BYTE_ORDER to fix Windows compile
gstgsmdec relies on BYTE_ORDER, which is not available on Windows. Use G_BYTE_ORDER instead. Fixes #573850.
Diffstat (limited to 'ext/gsm/gstgsmdec.c')
-rw-r--r--ext/gsm/gstgsmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c
index 35dd1774..f3a83904 100644
--- a/ext/gsm/gstgsmdec.c
+++ b/ext/gsm/gstgsmdec.c
@@ -206,7 +206,7 @@ gst_gsmdec_sink_setcaps (GstPad * pad, GstCaps * caps)
/* Setting up src caps based on the input sample rate. */
srccaps = gst_caps_new_simple ("audio/x-raw-int",
- "endianness", G_TYPE_INT, BYTE_ORDER,
+ "endianness", G_TYPE_INT, G_BYTE_ORDER,
"signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT, 16,
"depth", G_TYPE_INT, 16,