resindvd: silence unused-but-set warning
authorMatthew Waters <matthew@centricular.com>
Mon, 28 Mar 2022 07:38:23 +0000 (18:38 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Mar 2022 10:30:23 +0000 (10:30 +0000)
../ext/resindvd/gstpesfilter.c:117:11: error: variable 'STD_buffer_size_bound' set but not used [-Werror,-Wunused-but-set-variable]
  guint16 STD_buffer_size_bound;
          ^

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2046>

subprojects/gst-plugins-bad/ext/resindvd/gstpesfilter.c

index 0c4b1fb..1771b64 100644 (file)
@@ -114,7 +114,7 @@ gst_pes_filter_parse (GstPESFilter * filter)
   guint32 start_code;
 
   gboolean STD_buffer_bound_scale G_GNUC_UNUSED;
-  guint16 STD_buffer_size_bound;
+  guint16 STD_buffer_size_bound G_GNUC_UNUSED;
   const guint8 *data;
   gint avail, datalen;
   gboolean have_size = FALSE;