qcap: Test the correct variable when deciding how to grab V4L frame.

oldstable
Paul Chitescu 2010-02-02 13:33:54 +02:00 committed by Alexandre Julliard
parent cee8e9d881
commit d643748c94
1 changed files with 1 additions and 1 deletions

View File

@ -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);