mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +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
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue