mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 15:04:46 +00:00
vp9enc: remove unnecessary NULL check before g_free()
This commit is contained in:
parent
97a94b02ae
commit
2b7a1b4bb9
1 changed files with 1 additions and 2 deletions
|
@ -882,8 +882,7 @@ gst_vp9_enc_set_property (GObject * object, guint prop_id,
|
|||
global = TRUE;
|
||||
break;
|
||||
case PROP_MULTIPASS_CACHE_FILE:
|
||||
if (gst_vp9_enc->multipass_cache_prefix)
|
||||
g_free (gst_vp9_enc->multipass_cache_prefix);
|
||||
g_free (gst_vp9_enc->multipass_cache_prefix);
|
||||
gst_vp9_enc->multipass_cache_prefix = g_value_dup_string (value);
|
||||
break;
|
||||
case PROP_TS_NUMBER_LAYERS:
|
||||
|
|
Loading…
Reference in a new issue