Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0c432938
Commit
0c432938
authored
Apr 06, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
28e2e287
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
v4l.c
dlls/qcap/v4l.c
+5
-6
No files found.
dlls/qcap/v4l.c
View file @
0c432938
...
...
@@ -58,7 +58,6 @@
#include "vfwmsgs.h"
#include "amvideo.h"
#include "wine/debug.h"
#include "wine/library.h"
#include "qcap_main.h"
#include "capture.h"
...
...
@@ -81,12 +80,12 @@ static BOOL video_init(void)
if
(
video_lib
)
return
TRUE
;
if
(
!
(
video_lib
=
wine_dlopen
(
SONAME_LIBV4L2
,
RTLD_NOW
,
NULL
,
0
)))
if
(
!
(
video_lib
=
dlopen
(
SONAME_LIBV4L2
,
RTLD_NOW
)))
return
FALSE
;
video_open
=
wine_dlsym
(
video_lib
,
"v4l2_open"
,
NULL
,
0
);
video_close
=
wine_dlsym
(
video_lib
,
"v4l2_close"
,
NULL
,
0
);
video_ioctl
=
wine_dlsym
(
video_lib
,
"v4l2_ioctl"
,
NULL
,
0
);
video_read
=
wine_dlsym
(
video_lib
,
"v4l2_read"
,
NULL
,
0
);
video_open
=
dlsym
(
video_lib
,
"v4l2_open"
);
video_close
=
dlsym
(
video_lib
,
"v4l2_close"
);
video_ioctl
=
dlsym
(
video_lib
,
"v4l2_ioctl"
);
video_read
=
dlsym
(
video_lib
,
"v4l2_read"
);
return
TRUE
;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment