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 /gst | |
parent | 0889ac109222296bc463711c907e484bd4dee218 (diff) |
matroska: init endianess as such and signedness as boolean.
Diffstat (limited to 'gst')
-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 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) || |