From bf22f282eb0cd7ca77402102e174594aff3a505d Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 16:59:18 +1100 Subject: [PATCH] encodebin: silence a maybe-unitialized warning Part-of: --- subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c b/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c index 319d875d1d..22f482f4e1 100644 --- a/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c +++ b/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c @@ -1133,7 +1133,7 @@ static inline GstPad * get_compatible_muxer_sink_pad (GstEncodeBaseBin * ebin, GstEncodingProfile * sprof, GstCaps * sinkcaps) { - GstPad *sinkpad; + GstPad *sinkpad = NULL; GList *padl, *compatible_templates = NULL; GST_DEBUG_OBJECT (ebin, "Finding muxer pad for caps: %" GST_PTR_FORMAT,