matroska: init endianess as such and signedness as boolean.
authorStefan Kost <ensonic@users.sf.net>
Tue, 31 Mar 2009 13:25:58 +0000 (16:25 +0300)
committerStefan Kost <ensonic@users.sf.net>
Tue, 31 Mar 2009 13:25:58 +0000 (16:25 +0300)
gst/matroska/matroska-mux.c

index 1b958d6..bc5af3d 100644 (file)
@@ -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) ||