summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2018-02-22 12:32:45 -0900
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>2018-02-22 12:32:45 -0900
commit1c81bf4bdc67b518d6b3bbc22398c17fe8ced1da (patch)
treedd07a02bcc3bcea1e3c0a1dd450aec1ef3cc51c0
parent3cc61f98b1f061cde714a22dab0d211de740aea6 (diff)
msdkenc: remove unnecessary memset
https://bugzilla.gnome.org/show_bug.cgi?id=791479
-rw-r--r--sys/msdk/gstmsdkenc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/msdk/gstmsdkenc.c b/sys/msdk/gstmsdkenc.c
index 413660ce6..4ccaf56c9 100644
--- a/sys/msdk/gstmsdkenc.c
+++ b/sys/msdk/gstmsdkenc.c
@@ -1388,11 +1388,6 @@ gst_msdkenc_init (GstMsdkEnc * thiz)
thiz->mbbrc = PROP_MBBRC_DEFAULT;
thiz->adaptive_i = PROP_ADAPTIVE_I_DEFAULT;
thiz->adaptive_b = PROP_ADAPTIVE_B_DEFAULT;
-
- thiz->enable_extopt3 = FALSE;
- memset (&thiz->option2, 0, sizeof (thiz->option2));
- memset (&thiz->option3, 0, sizeof (thiz->option3));
- memset (&thiz->enc_cntrl, 0, sizeof (thiz->enc_cntrl));
}
/* gst_msdkenc_set_common_property: