Commit 0c432938 authored by Alexandre Julliard's avatar Alexandre Julliard

qcap: Use standard dlopen() instead of the libwine wrappers.

parent 28e2e287
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
#include "vfwmsgs.h" #include "vfwmsgs.h"
#include "amvideo.h" #include "amvideo.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/library.h"
#include "qcap_main.h" #include "qcap_main.h"
#include "capture.h" #include "capture.h"
...@@ -81,12 +80,12 @@ static BOOL video_init(void) ...@@ -81,12 +80,12 @@ static BOOL video_init(void)
if (video_lib) if (video_lib)
return TRUE; return TRUE;
if (!(video_lib = wine_dlopen(SONAME_LIBV4L2, RTLD_NOW, NULL, 0))) if (!(video_lib = dlopen(SONAME_LIBV4L2, RTLD_NOW)))
return FALSE; return FALSE;
video_open = wine_dlsym(video_lib, "v4l2_open", NULL, 0); video_open = dlsym(video_lib, "v4l2_open");
video_close = wine_dlsym(video_lib, "v4l2_close", NULL, 0); video_close = dlsym(video_lib, "v4l2_close");
video_ioctl = wine_dlsym(video_lib, "v4l2_ioctl", NULL, 0); video_ioctl = dlsym(video_lib, "v4l2_ioctl");
video_read = wine_dlsym(video_lib, "v4l2_read", NULL, 0); video_read = dlsym(video_lib, "v4l2_read");
return TRUE; return TRUE;
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment