Commit 5500dd4a authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

matroskamux: Fix compiler warnings when compiling with G_DISABLE_ASSERT

parent b03a4d91
...@@ -1911,8 +1911,8 @@ gst_matroska_mux_audio_pad_setcaps (GstPad * pad, GstCaps * caps) ...@@ -1911,8 +1911,8 @@ gst_matroska_mux_audio_pad_setcaps (GstPad * pad, GstCaps * caps)
guint8 *codec_priv; guint8 *codec_priv;
guint codec_priv_size; guint codec_priv_size;
guint16 format = 0; guint16 format = 0;
gint block_align; gint block_align = 0;
gint bitrate; gint bitrate = 0;
if (samplerate == 0 || channels == 0) { if (samplerate == 0 || channels == 0) {
GST_WARNING_OBJECT (mux, "Missing channels/samplerate on caps"); GST_WARNING_OBJECT (mux, "Missing channels/samplerate on caps");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment