libs: encoder: h264_fei: remove dead error condition

Found by static analysis.  The feipak is always null
when we reach the error target.
This commit is contained in:
U. Artie Eoff 2019-09-19 10:56:13 -07:00
parent 9c46c15e51
commit 2bfef5a454

View file

@ -4535,8 +4535,6 @@ gst_vaapi_encoder_h264_fei_new (GstVaapiDisplay * display)
error:
if (feienc)
g_object_unref (feienc);
if (feipak)
gst_vaapi_mini_object_replace ((GstVaapiMiniObject **) & feipak, NULL);
if (feiencoder)
g_object_unref (feiencoder);