mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
x264enc: drop unnecessary NULL check before g_free
This commit is contained in:
parent
cc2c53bdde
commit
7d7bab4640
1 changed files with 1 additions and 2 deletions
|
@ -2347,8 +2347,7 @@ gst_x264_enc_set_property (GObject * object, guint prop_id,
|
|||
encoder->sync_lookahead);
|
||||
break;
|
||||
case ARG_MULTIPASS_CACHE_FILE:
|
||||
if (encoder->mp_cache_file)
|
||||
g_free (encoder->mp_cache_file);
|
||||
g_free (encoder->mp_cache_file);
|
||||
encoder->mp_cache_file = g_value_dup_string (value);
|
||||
g_string_append_printf (encoder->option_string, ":stats=%s",
|
||||
encoder->mp_cache_file);
|
||||
|
|
Loading…
Reference in a new issue