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
8b830ee9
Commit
8b830ee9
authored
Oct 05, 2015
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: Do not try to configure filter outputs without streams
Prevent a NULL-dereference. CC: libav-stable@libav.org
parent
d7a5a178
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
avconv_filter.c
avconv_filter.c
+6
-2
No files found.
avconv_filter.c
View file @
8b830ee9
...
...
@@ -702,8 +702,12 @@ int configure_filtergraph(FilterGraph *fg)
return
ret
;
avfilter_inout_free
(
&
inputs
);
for
(
cur
=
outputs
,
i
=
0
;
cur
;
cur
=
cur
->
next
,
i
++
)
configure_output_filter
(
fg
,
fg
->
outputs
[
i
],
cur
);
for
(
cur
=
outputs
,
i
=
0
;
cur
;
cur
=
cur
->
next
,
i
++
)
{
OutputFilter
*
ofilter
=
fg
->
outputs
[
i
];
if
(
ofilter
->
ost
)
configure_output_filter
(
fg
,
ofilter
,
cur
);
}
avfilter_inout_free
(
&
outputs
);
if
((
ret
=
avfilter_graph_config
(
fg
->
graph
,
NULL
))
<
0
)
...
...
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