summaryrefslogtreecommitdiff
authorStefan Kost <ensonic@users.sf.net>2009-03-31 13:25:58 (GMT)
committer Stefan Kost <ensonic@users.sf.net>2009-03-31 13:25:58 (GMT)
commitef7bcf7bd1974220f706a103d372b3fa530b4e33 (patch) (side-by-side diff)
tree5eb2659f77566f2942291486e446e83cc2cfd2c6
parent0889ac109222296bc463711c907e484bd4dee218 (diff)
downloadgst-plugins-good-ef7bcf7bd1974220f706a103d372b3fa530b4e33.zip
gst-plugins-good-ef7bcf7bd1974220f706a103d372b3fa530b4e33.tar.gz
matroska: init endianess as such and signedness as boolean.
Diffstat (more/less context) (ignore whitespace changes)
-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 1b958d6..bc5af3d 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) ||