Paul Chitescu : qcap: Test the correct variable when deciding how to grab V4L frame.
Alexandre Julliard
julliard at winehq.org
Tue Feb 2 10:45:30 CST 2010
Module: wine
Branch: master
Commit: d643748c9433654c71b2727e8e7a1b17b96d1b69
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d643748c9433654c71b2727e8e7a1b17b96d1b69
Author: Paul Chitescu <paulc at voip.null.ro>
Date: Tue Feb 2 13:33:54 2010 +0200
qcap: Test the correct variable when deciding how to grab V4L frame.
---
dlls/qcap/v4l.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c
index 85d4d4d..91dd8f4 100644
--- a/dlls/qcap/v4l.c
+++ b/dlls/qcap/v4l.c
@@ -563,7 +563,7 @@ static void Resize(const Capture * capBox, LPBYTE output, const BYTE *input)
static void V4l_GetFrame(Capture * capBox, unsigned char ** pInput)
{
- if (capBox->pmap)
+ if (capBox->mmap)
{
if (xioctl(capBox->fd, VIDIOCSYNC, &capBox->grab_buf[capBox->curframe]) == -1)
WARN("Syncing ioctl failed: %d\n", errno);
More information about the wine-cvs
mailing list