Commit 9a628924 authored by Sebastian Dröge's avatar Sebastian Dröge

rawaudioparse: Fix potential NULL pointer dereference

CID 1364606
parent 033057cf
......@@ -447,7 +447,7 @@ gst_raw_audio_parse_set_property (GObject * object, guint prop_id,
gst_raw_audio_parse_set_config_channels (&
(raw_audio_parse->properties_config), config->num_channels, 0,
} else {
} else if (valarray != NULL) {
/* Non-NULL value given. Make sure the channel_positions
* array in the properties config has enough room, and that
* the num_channels value equals the array length. Then copy
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