Signed-off-by: Jactry Zeng jzeng@codeweavers.com --- dlls/qcap/v4l.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c index afc9bf2c93..449951ad53 100644 --- a/dlls/qcap/v4l.c +++ b/dlls/qcap/v4l.c @@ -442,6 +442,7 @@ static void fill_caps(__u32 pixelformat, __u32 width, __u32 height, { LONG depth = 24;
+ memset(caps, 0, sizeof(*caps)); caps->video_info.dwBitRate = width * height * depth * max_fps; caps->video_info.bmiHeader.biSize = sizeof(caps->video_info.bmiHeader); caps->video_info.bmiHeader.biWidth = width;
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=71607
Your paranoid android.
=== debiant (32 bit report) ===
qcap: qcap.c:1758: Test succeeded inside todo block: QueryInterface for IID_IAMFilterMiscFlags failed: 00000000 qcap.c:1761: Test failed: refcount == 7, expected 8
=== debiant (32 bit Chinese:China report) ===
qcap: qcap.c:1758: Test succeeded inside todo block: QueryInterface for IID_IAMFilterMiscFlags failed: 00000000 qcap.c:1761: Test failed: refcount == 7, expected 8
=== debiant (32 bit WoW report) ===
qcap: qcap.c:1758: Test succeeded inside todo block: QueryInterface for IID_IAMFilterMiscFlags failed: 00000000 qcap.c:1761: Test failed: refcount == 7, expected 8
=== debiant (64 bit WoW report) ===
qcap: qcap.c:1758: Test succeeded inside todo block: QueryInterface for IID_IAMFilterMiscFlags failed: 00000000 qcap.c:1761: Test failed: refcount == 7, expected 8