vp8enc: remove unnecessary NULL check before g_free()

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-11-14 16:54:42 -08:00
parent c9039751f1
commit 97a94b02ae

View file

@ -911,7 +911,6 @@ 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);
gst_vp8_enc->multipass_cache_prefix = g_value_dup_string (value);
break;