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
494cbc42
Commit
494cbc42
authored
Aug 30, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: Clean up if filter initialisation failed to avoid a memleak.
Fixes ticket #3858. Reviewed-by: Nicolas George
parent
19bf1ed1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ffmpeg_filter.c
ffmpeg_filter.c
+4
-1
No files found.
ffmpeg_filter.c
View file @
494cbc42
...
...
@@ -898,8 +898,11 @@ int configure_filtergraph(FilterGraph *fg)
init_input_filter
(
fg
,
cur
);
for
(
cur
=
inputs
,
i
=
0
;
cur
;
cur
=
cur
->
next
,
i
++
)
if
((
ret
=
configure_input_filter
(
fg
,
fg
->
inputs
[
i
],
cur
))
<
0
)
if
((
ret
=
configure_input_filter
(
fg
,
fg
->
inputs
[
i
],
cur
))
<
0
)
{
avfilter_inout_free
(
&
inputs
);
avfilter_inout_free
(
&
outputs
);
return
ret
;
}
avfilter_inout_free
(
&
inputs
);
if
(
!
init
||
simple
)
{
...
...
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