diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-11-14 16:54:42 -0800 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-11-15 01:43:08 -0800 |
commit | 97a94b02ae9ff0de75a1db16429cc2bce9690112 (patch) | |
tree | 05a7942162321cc7c208682e25b92b0be02525e9 | |
parent | c9039751f135d22fcb62a17848a8db00229422e3 (diff) |
vp8enc: remove unnecessary NULL check before g_free()
-rw-r--r-- | ext/vpx/gstvp8enc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/vpx/gstvp8enc.c b/ext/vpx/gstvp8enc.c index a53819266..0ba3d1b89 100644 --- a/ext/vpx/gstvp8enc.c +++ b/ext/vpx/gstvp8enc.c @@ -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: |