From: Nicolas Dufresne Date: Tue, 26 Jul 2022 16:12:50 +0000 (-0400) Subject: vaapi: h264dec: Remove dead code X-Git-Tag: 1.22.0~1221 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d63b8c3265b76d474161e09b815de4bbbfb7650;p=platform%2Fupstream%2Fgstreamer.git vaapi: h264dec: Remove dead code Part-of: --- diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c index cff837a..5da8490 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c @@ -1458,14 +1458,10 @@ parse_pps (GstVaapiDecoderH265 * decoder, GstVaapiDecoderUnit * unit) GstVaapiParserInfoH265 *const pi = unit->parsed_info; GstH265PPS *const pps = &pi->data.pps; GstH265ParserResult result; - guint col_width[19], row_height[21]; GST_DEBUG ("parse PPS"); priv->parser_state &= GST_H265_VIDEO_STATE_GOT_SPS; - memset (col_width, 0, sizeof (col_width)); - memset (row_height, 0, sizeof (row_height)); - memset (pps, 0, sizeof (GstH265PPS)); result = gst_h265_parser_parse_pps (priv->parser, &pi->nalu, pps);