msvfw32: Fix invalid check that caused the rest of VideoCapDriverDescAndVer16 to be optimized out.
This commit is contained in:
parent
86af5b9754
commit
5c9396d734
|
@ -4,7 +4,7 @@ SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = msvfw32.dll
|
MODULE = msvfw32.dll
|
||||||
IMPORTLIB = libmsvfw32.$(IMPLIBEXT)
|
IMPORTLIB = libmsvfw32.$(IMPLIBEXT)
|
||||||
IMPORTS = winmm comctl32 user32 gdi32 advapi32 kernel32 ntdll
|
IMPORTS = winmm version comctl32 user32 gdi32 advapi32 kernel32 ntdll
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
mciwnd.c \
|
mciwnd.c \
|
||||||
|
|
|
@ -813,7 +813,7 @@ DWORD WINAPI VideoCapDriverDescAndVer16(WORD nr, LPSTR buf1, WORD buf1len,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nr || !found)
|
if (!found)
|
||||||
{
|
{
|
||||||
TRACE("No more VID* entries found nr=%d\n", nr);
|
TRACE("No more VID* entries found nr=%d\n", nr);
|
||||||
return 20;
|
return 20;
|
||||||
|
|
Loading…
Reference in New Issue