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
5d3c3035
Commit
5d3c3035
authored
Jul 08, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: replace exit() by exit_program()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
eeddeb65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmdutils.c
cmdutils.c
+2
-2
No files found.
cmdutils.c
View file @
5d3c3035
...
@@ -942,7 +942,7 @@ int opt_max_alloc(void *optctx, const char *opt, const char *arg)
...
@@ -942,7 +942,7 @@ int opt_max_alloc(void *optctx, const char *opt, const char *arg)
max
=
strtol
(
arg
,
&
tail
,
10
);
max
=
strtol
(
arg
,
&
tail
,
10
);
if
(
*
tail
)
{
if
(
*
tail
)
{
av_log
(
NULL
,
AV_LOG_FATAL
,
"Invalid max_alloc
\"
%s
\"
.
\n
"
,
arg
);
av_log
(
NULL
,
AV_LOG_FATAL
,
"Invalid max_alloc
\"
%s
\"
.
\n
"
,
arg
);
exit
(
1
);
exit
_program
(
1
);
}
}
av_max_alloc
(
max
);
av_max_alloc
(
max
);
return
0
;
return
0
;
...
@@ -1310,7 +1310,7 @@ static unsigned get_codecs_sorted(const AVCodecDescriptor ***rcodecs)
...
@@ -1310,7 +1310,7 @@ static unsigned get_codecs_sorted(const AVCodecDescriptor ***rcodecs)
nb_codecs
++
;
nb_codecs
++
;
if
(
!
(
codecs
=
av_calloc
(
nb_codecs
,
sizeof
(
*
codecs
))))
{
if
(
!
(
codecs
=
av_calloc
(
nb_codecs
,
sizeof
(
*
codecs
))))
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Out of memory
\n
"
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Out of memory
\n
"
);
exit
(
1
);
exit
_program
(
1
);
}
}
desc
=
NULL
;
desc
=
NULL
;
while
((
desc
=
avcodec_descriptor_next
(
desc
)))
while
((
desc
=
avcodec_descriptor_next
(
desc
)))
...
...
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