ksvideosrc: initialize pointer to satisfy MSVC
authorJoshua M. Doe <oss@nvl.army.mil>
Mon, 15 Oct 2018 16:49:55 +0000 (12:49 -0400)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Thu, 8 Nov 2018 15:42:51 +0000 (15:42 +0000)
sys/winks/ksvideohelpers.c

index fac265a..7c1faca 100644 (file)
@@ -466,7 +466,7 @@ ks_video_probe_filter_for_caps (HANDLE filter_handle)
           if (IsEqualGUID (&range->MajorFormat, &MEDIATYPE_Video)
               || IsEqualGUID (&range->MajorFormat, &MEDIATYPE_Interleaved)) {
             KsVideoMediaType *entry;
-            gpointer src_vscc, src_format;
+            gpointer src_vscc = NULL, src_format = NULL;
             GstStructure *media_structure;
 
             entry = g_new0 (KsVideoMediaType, 1);