mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
matroska: init endianess as such and signedness as boolean.
This commit is contained in:
parent
0889ac1092
commit
ef7bcf7bd1
1 changed files with 3 additions and 2 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue