]> git.sesse.net Git - vlc/blobdiff - modules/access/dshow/filter.cpp
* modules/access/dshow/filter.cpp: fixed uninitialized variable.
[vlc] / modules / access / dshow / filter.cpp
index 477677210ceca2c5f3326f2c00afd209f812a4c2..9475396931dd50061da132ba8967489fcefbd649 100644 (file)
@@ -314,6 +314,7 @@ CapturePin::CapturePin( vlc_object_t *_p_input, access_sys_t *_p_sys,
     cx_media_type.majortype = mt[0].majortype;
     cx_media_type.subtype   = GUID_NULL;
     cx_media_type.pbFormat  = NULL;
+    cx_media_type.cbFormat  = 0;
     cx_media_type.pUnk      = NULL;
 }