vaapi: h264dec: Remove dead code
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 26 Jul 2022 16:12:50 +0000 (12:12 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 26 Jul 2022 21:09:08 +0000 (21:09 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2795>

subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c

index cff837a..5da8490 100644 (file)
@@ -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);