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:
Sebastian Dröge 2014-02-08 17:41:21 +01:00
parent f299fc899c
commit ec1899e456

View file

@ -482,6 +482,8 @@ sink_handoff_float32 (GstElement * element, GstBuffer * buffer, GstPad * pad,
GST_AUDIO_CHANNEL_POSITION_REAR_CENTER
};
gst_audio_channel_positions_to_mask (pos, 2, FALSE, &mask);
} else {
g_assert_not_reached ();
}
caps = gst_caps_new_simple ("audio/x-raw",