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
561a365d
Commit
561a365d
authored
Jul 07, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pp: check that the argument is not NULL as this is not supported
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bb62a8b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
postprocess.c
libpostproc/postprocess.c
+5
-0
No files found.
libpostproc/postprocess.c
View file @
561a365d
...
@@ -728,6 +728,11 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
...
@@ -728,6 +728,11 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
struct
PPMode
*
ppMode
;
struct
PPMode
*
ppMode
;
char
*
filterToken
;
char
*
filterToken
;
if
(
!
name
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"pp: Missing argument
\n
"
);
return
NULL
;
}
if
(
!
strcmp
(
name
,
"help"
))
{
if
(
!
strcmp
(
name
,
"help"
))
{
const
char
*
p
;
const
char
*
p
;
for
(
p
=
pp_help
;
strchr
(
p
,
'\n'
);
p
=
strchr
(
p
,
'\n'
)
+
1
)
{
for
(
p
=
pp_help
;
strchr
(
p
,
'\n'
);
p
=
strchr
(
p
,
'\n'
)
+
1
)
{
...
...
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