From d98c83b2979c220c1cef8c217d9af59d9a1d3ff5 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 16:56:22 +1100 Subject: [PATCH] v4l2videodec: silennce some maybe-uninitialized warnings Part-of: --- subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c index 7814bae03d..70edd06077 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c @@ -631,7 +631,7 @@ gst_v4l2_video_dec_finish (GstVideoDecoder * decoder) pending_frames = gst_video_decoder_get_frames (decoder); if (pending_frames) { int counter = 0; - guint32 first, last; + guint32 first = 0, last = 0; for (GList * g = pending_frames; g; g = g->next) { GstVideoCodecFrame *frame = g->data; g->data = NULL;