ksvideosrc: initialize pointer to satisfy MSVC

This commit is contained in:
Joshua M. Doe 2018-10-15 12:49:55 -04:00 committed by Nicolas Dufresne
parent ca90ecef9c
commit 1449411e39

View file

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