From: U. Artie Eoff Date: Thu, 19 Sep 2019 17:56:13 +0000 (-0700) Subject: libs: encoder: h264_fei: remove dead error condition X-Git-Tag: 1.19.3~503^2~392 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bfef5a4548a1b1f9cd2ec6a0670db6460b47dca;p=platform%2Fupstream%2Fgstreamer.git libs: encoder: h264_fei: remove dead error condition Found by static analysis. The feipak is always null when we reach the error target. --- diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c b/gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c index 12c6493..ed392a0 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c +++ b/gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c @@ -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);