diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-02-08 20:41:21 +0400 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-08 20:41:21 +0400 |
commit | ec1899e4563391cfa346fc232bbe3bf48dff6e08 (patch) | |
tree | 8b0b09cbed2a8db74f110c7db7dc9591393dd6cc | |
parent | f299fc899c28eee83ed6d37fb73c492f7710391b (diff) |
interleave: Fix unitialized variable compiler warning in test
error: variable 'mask' is used uninitialized
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
-rw-r--r-- | tests/check/elements/interleave.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/interleave.c b/tests/check/elements/interleave.c index be0a4b6ba..51d169dc0 100644 --- a/tests/check/elements/interleave.c +++ b/tests/check/elements/interleave.c @@ -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", |