mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
vp8enc: remove unnecessary NULL check before g_free()
This commit is contained in:
parent
c9039751f1
commit
97a94b02ae
1 changed files with 1 additions and 2 deletions
|
@ -911,7 +911,6 @@ gst_vp8_enc_set_property (GObject * object, guint prop_id,
|
||||||
global = TRUE;
|
global = TRUE;
|
||||||
break;
|
break;
|
||||||
case PROP_MULTIPASS_CACHE_FILE:
|
case PROP_MULTIPASS_CACHE_FILE:
|
||||||
if (gst_vp8_enc->multipass_cache_prefix)
|
|
||||||
g_free (gst_vp8_enc->multipass_cache_prefix);
|
g_free (gst_vp8_enc->multipass_cache_prefix);
|
||||||
gst_vp8_enc->multipass_cache_prefix = g_value_dup_string (value);
|
gst_vp8_enc->multipass_cache_prefix = g_value_dup_string (value);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue