Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
73251678
Commit
73251678
authored
Dec 06, 2018
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/v4l2: Use "int request" as second parameter for ioctl() on Android.
Fixes build with new Android toolchain.
parent
73abde61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
v4l2.c
libavdevice/v4l2.c
+4
-0
No files found.
libavdevice/v4l2.c
View file @
73251678
...
@@ -95,7 +95,11 @@ struct video_data {
...
@@ -95,7 +95,11 @@ struct video_data {
int
(
*
open_f
)(
const
char
*
file
,
int
oflag
,
...);
int
(
*
open_f
)(
const
char
*
file
,
int
oflag
,
...);
int
(
*
close_f
)(
int
fd
);
int
(
*
close_f
)(
int
fd
);
int
(
*
dup_f
)(
int
fd
);
int
(
*
dup_f
)(
int
fd
);
#ifdef __GLIBC__
int
(
*
ioctl_f
)(
int
fd
,
unsigned
long
int
request
,
...);
int
(
*
ioctl_f
)(
int
fd
,
unsigned
long
int
request
,
...);
#else
int
(
*
ioctl_f
)(
int
fd
,
int
request
,
...);
#endif
ssize_t
(
*
read_f
)(
int
fd
,
void
*
buffer
,
size_t
n
);
ssize_t
(
*
read_f
)(
int
fd
,
void
*
buffer
,
size_t
n
);
void
*
(
*
mmap_f
)(
void
*
start
,
size_t
length
,
int
prot
,
int
flags
,
int
fd
,
int64_t
offset
);
void
*
(
*
mmap_f
)(
void
*
start
,
size_t
length
,
int
prot
,
int
flags
,
int
fd
,
int64_t
offset
);
int
(
*
munmap_f
)(
void
*
_start
,
size_t
length
);
int
(
*
munmap_f
)(
void
*
_start
,
size_t
length
);
...
...
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