mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +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,8 +911,7 @@ gst_vp8_enc_set_property (GObject * object, guint prop_id,
|
|||
global = TRUE;
|
||||
break;
|
||||
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);
|
||||
break;
|
||||
case PROP_TS_NUMBER_LAYERS:
|
||||
|
|
Loading…
Reference in a new issue