Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
1135a071
Commit
1135a071
authored
Jan 01, 2012
by
Janne Grunau
Browse files
avconv: free bitstream filters
parent
b12d2173
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
avconv.c
avconv.c
+9
-0
No files found.
avconv.c
View file @
1135a071
...
@@ -667,6 +667,15 @@ void exit_program(int ret)
...
@@ -667,6 +667,15 @@ void exit_program(int ret)
avformat_free_context
(
s
);
avformat_free_context
(
s
);
av_dict_free
(
&
output_files
[
i
].
opts
);
av_dict_free
(
&
output_files
[
i
].
opts
);
}
}
for
(
i
=
0
;
i
<
nb_output_streams
;
i
++
)
{
AVBitStreamFilterContext
*
bsfc
=
output_streams
[
i
].
bitstream_filters
;
while
(
bsfc
)
{
AVBitStreamFilterContext
*
next
=
bsfc
->
next
;
av_bitstream_filter_close
(
bsfc
);
bsfc
=
next
;
}
output_streams
[
i
].
bitstream_filters
=
NULL
;
}
for
(
i
=
0
;
i
<
nb_input_files
;
i
++
)
{
for
(
i
=
0
;
i
<
nb_input_files
;
i
++
)
{
avformat_close_input
(
&
input_files
[
i
].
ctx
);
avformat_close_input
(
&
input_files
[
i
].
ctx
);
}
}
...
...
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