summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-03-31 16:25:58 +0300
committerStefan Kost <ensonic@users.sf.net>2009-03-31 16:25:58 +0300
commitef7bcf7bd1974220f706a103d372b3fa530b4e33 (patch)
tree5eb2659f77566f2942291486e446e83cc2cfd2c6
parent0889ac109222296bc463711c907e484bd4dee218 (diff)
matroska: init endianess as such and signedness as boolean.
-rw-r--r--gst/matroska/matroska-mux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index 1b958d69e..bc5af3d49 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -1300,8 +1300,9 @@ gst_matroska_mux_audio_pad_setcaps (GstPad * pad, GstCaps * caps)
return TRUE;
} else if (!strcmp (mimetype, "audio/x-raw-int")) {
- gint endianness, width, depth;
- gboolean signedness = G_LITTLE_ENDIAN;
+ gint width, depth;
+ gint endianness = G_LITTLE_ENDIAN;
+ gboolean signedness = TRUE;
if (!gst_structure_get_int (structure, "width", &width) ||
!gst_structure_get_int (structure, "depth", &depth) ||