From ef7bcf7bd1974220f706a103d372b3fa530b4e33 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 31 Mar 2009 16:25:58 +0300 Subject: matroska: init endianess as such and signedness as boolean. --- gst/matroska/matroska-mux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst/matroska') diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index 1b958d69..bc5af3d4 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) || -- cgit