diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-03-31 16:25:58 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-03-31 16:25:58 +0300 |
commit | ef7bcf7bd1974220f706a103d372b3fa530b4e33 (patch) | |
tree | 5eb2659f77566f2942291486e446e83cc2cfd2c6 | |
parent | 0889ac109222296bc463711c907e484bd4dee218 (diff) |
matroska: init endianess as such and signedness as boolean.
-rw-r--r-- | gst/matroska/matroska-mux.c | 5 |
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) | |||
1300 | 1300 | ||
1301 | return TRUE; | 1301 | return TRUE; |
1302 | } else if (!strcmp (mimetype, "audio/x-raw-int")) { | 1302 | } else if (!strcmp (mimetype, "audio/x-raw-int")) { |
1303 | gint endianness, width, depth; | 1303 | gint width, depth; |
1304 | gboolean signedness = G_LITTLE_ENDIAN; | 1304 | gint endianness = G_LITTLE_ENDIAN; |
1305 | gboolean signedness = TRUE; | ||
1305 | 1306 | ||
1306 | if (!gst_structure_get_int (structure, "width", &width) || | 1307 | if (!gst_structure_get_int (structure, "width", &width) || |
1307 | !gst_structure_get_int (structure, "depth", &depth) || | 1308 | !gst_structure_get_int (structure, "depth", &depth) || |