diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-04-10 15:55:57 +0100 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-04-10 15:55:57 +0100 |
commit | 43ce84e0f4ed9f82b78d14ba92478dcab90893c1 (patch) | |
tree | 3f030c33ce9dd249b817807733b4298db4ddd454 /sys | |
parent | ba8220a9fd3ec309d2401201524866233a4b2171 (diff) | |
download | gstreamer-plugins-base-43ce84e0f4ed9f82b78d14ba92478dcab90893c1.tar.gz |
xvimage: remove dead code
matching_attr can not be NULL here, we've tested that away a few
lines beforehand.
Coverity 1139655
Diffstat (limited to 'sys')
-rw-r--r-- | sys/xvimage/xvcontext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/xvimage/xvcontext.c b/sys/xvimage/xvcontext.c index d89ea4857..146e4a52c 100644 --- a/sys/xvimage/xvcontext.c +++ b/sys/xvimage/xvcontext.c @@ -738,8 +738,8 @@ gst_xvcontext_new (GstXvContextConfig * config, GError ** error) channel = g_object_new (GST_TYPE_COLOR_BALANCE_CHANNEL, NULL); channel->label = g_strdup (channels[i]); - channel->min_value = matching_attr ? matching_attr->min_value : -1000; - channel->max_value = matching_attr ? matching_attr->max_value : 1000; + channel->min_value = matching_attr->min_value; + channel->max_value = matching_attr->max_value; context->channels_list = g_list_append (context->channels_list, channel); |