mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-28 01:05:07 +00:00
interleave: Fix unitialized variable compiler warning in test
error: variable 'mask' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
This commit is contained in:
parent
f299fc899c
commit
ec1899e456
|
@ -482,6 +482,8 @@ sink_handoff_float32 (GstElement * element, GstBuffer * buffer, GstPad * pad,
|
||||||
GST_AUDIO_CHANNEL_POSITION_REAR_CENTER
|
GST_AUDIO_CHANNEL_POSITION_REAR_CENTER
|
||||||
};
|
};
|
||||||
gst_audio_channel_positions_to_mask (pos, 2, FALSE, &mask);
|
gst_audio_channel_positions_to_mask (pos, 2, FALSE, &mask);
|
||||||
|
} else {
|
||||||
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
caps = gst_caps_new_simple ("audio/x-raw",
|
caps = gst_caps_new_simple ("audio/x-raw",
|
||||||
|
|
Loading…
Reference in a new issue