Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0104b608
Commit
0104b608
authored
Feb 09, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for setrlimit()
Originally committed as revision 21733 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
614d8911
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
cmdutils.c
cmdutils.c
+1
-1
configure
configure
+2
-0
No files found.
cmdutils.c
View file @
0104b608
...
...
@@ -264,7 +264,7 @@ int opt_loglevel(const char *opt, const char *arg)
int
opt_timelimit
(
const
char
*
opt
,
const
char
*
arg
)
{
#if HAVE_S
YS_RESOURCE_H
#if HAVE_S
ETRLIMIT
int
lim
=
parse_number_or_die
(
opt
,
arg
,
OPT_INT64
,
0
,
INT_MAX
);
struct
rlimit
rl
=
{
lim
,
lim
+
1
};
if
(
setrlimit
(
RLIMIT_CPU
,
&
rl
))
...
...
configure
View file @
0104b608
...
...
@@ -1043,6 +1043,7 @@ HAVE_LIST="
socklen_t
soundcard_h
poll_h
setrlimit
struct_addrinfo
struct_ipv6_mreq
struct_sockaddr_in6
...
...
@@ -2460,6 +2461,7 @@ check_func isatty
check_func
${
malloc_prefix
}
memalign
&&
enable
memalign
check_func mkstemp
check_func
${
malloc_prefix
}
posix_memalign
&&
enable
posix_memalign
check_func setrlimit
check_func_headers io.h setmode
check_func_headers lzo/lzo1x.h lzo1x_999_compress
check_func_headers windows.h GetProcessTimes
...
...
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