Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
fc0fc275
Commit
fc0fc275
authored
Jan 30, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed memleaks in ps demuxer (close #3141).
parent
64002dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/demux/ps.h
modules/demux/ps.h
+7
-1
No files found.
modules/demux/ps.h
View file @
fc0fc275
...
...
@@ -674,9 +674,15 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
if
(
ps_track_fill
(
&
tk_tmp
,
p_psm
,
tk
[
i
].
i_id
)
!=
VLC_SUCCESS
)
continue
;
if
(
tk_tmp
.
fmt
.
i_codec
==
tk
[
i
].
fmt
.
i_codec
)
continue
;
if
(
tk_tmp
.
fmt
.
i_codec
==
tk
[
i
].
fmt
.
i_codec
)
{
es_format_Clean
(
&
tk_tmp
.
fmt
);
continue
;
}
es_out_Del
(
out
,
tk
[
i
].
es
);
es_format_Clean
(
&
tk
[
i
].
fmt
);
tk
[
i
]
=
tk_tmp
;
tk
[
i
].
b_seen
=
true
;
tk
[
i
].
es
=
es_out_Add
(
out
,
&
tk
[
i
].
fmt
);
...
...
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