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.
This commit is contained in:
LRN 2009-03-04 11:07:52 +01:00 committed by Wim Taymans
parent 6dbf8906b5
commit b5d4c2a7bf

View file

@ -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,