Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
77609b74
Commit
77609b74
authored
Oct 31, 2005
by
gbazin
Browse files
* modules/stream_out/transcode.c: fixed small memleak.
parent
768c27bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/transcode.c
View file @
77609b74
...
...
@@ -1500,6 +1500,8 @@ static int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_t *id )
/* Close the encoder.
* We'll open it only when we have the first frame. */
module_Unneed
(
id
->
p_encoder
,
id
->
p_encoder
->
p_module
);
if
(
id
->
p_encoder
->
fmt_out
.
p_extra
)
free
(
id
->
p_encoder
->
fmt_out
.
p_extra
);
id
->
p_encoder
->
p_module
=
NULL
;
if
(
p_sys
->
i_threads
>=
1
)
...
...
Write
Preview
Supports
Markdown
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