From e993e0e981f5a83b5e3fcd679c4a9cf5ab04a7a0 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 17:16:42 +1100 Subject: [PATCH] vaapi/encoder: silence a maybe-unitialized warning Part-of: --- .../gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiencoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiencoder.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiencoder.c index 8ab33ca545..a33aa213eb 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiencoder.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiencoder.c @@ -554,7 +554,7 @@ get_compatible_profile (GstVaapiEncoder * encoder) { const GstVaapiEncoderClassData *const cdata = GST_VAAPI_ENCODER_GET_CLASS (encoder)->class_data; - GstVaapiProfile profile; + GstVaapiProfile profile = GST_VAAPI_PROFILE_UNKNOWN; GArray *profiles; guint i;