Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
52500c68
Commit
52500c68
authored
Jul 18, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpga: fixed a memleak+warnings.
parent
1e4bfd0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
modules/demux/mpeg/mpga.c
modules/demux/mpeg/mpga.c
+5
-10
No files found.
modules/demux/mpeg/mpga.c
View file @
52500c68
...
...
@@ -181,20 +181,15 @@ static int Open( vlc_object_t * p_this )
if
(
(
p_id3
=
module_Need
(
p_demux
,
"id3"
,
NULL
,
0
)
)
)
{
p_sys
->
meta
=
(
vlc_meta_t
*
)
p_demux
->
p_private
;
if
(
p_sys
->
meta
!=
NULL
)
{
/* temporary */
msg_Dbg
(
p_demux
,
"Title : %s"
,
vlc_meta_GetValue
(
p_sys
->
meta
,
VLC_META_TITLE
)
);
p_demux
->
p_private
=
NULL
;
}
module_Unneed
(
p_demux
,
p_id3
);
}
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
4
)
<
4
)
{
msg_Err
(
p_demux
,
"cannot peek"
);
Close
(
p_demux
);
Close
(
VLC_OBJECT
(
p_demux
)
);
return
VLC_EGENERIC
;
}
...
...
@@ -206,7 +201,7 @@ static int Open( vlc_object_t * p_this )
if
(
!
b_forced
&&
!
b_extention
)
{
msg_Warn
(
p_demux
,
"mpga module discarded"
);
Close
(
p_demux
);
Close
(
VLC_OBJECT
(
p_demux
)
);
return
VLC_EGENERIC
;
}
...
...
@@ -225,7 +220,7 @@ static int Open( vlc_object_t * p_this )
if
(
!
b_ok
&&
!
b_forced
)
{
msg_Warn
(
p_demux
,
"mpga module discarded"
);
Close
(
p_demux
);
Close
(
VLC_OBJECT
(
p_demux
)
);
return
VLC_EGENERIC
;
}
}
...
...
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