Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d0f70cdc
Commit
d0f70cdc
authored
Mar 01, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a memleak per packetizer module_Need.
parent
e148e58d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
modules/codec/flac.c
modules/codec/flac.c
+7
-3
No files found.
modules/codec/flac.c
View file @
d0f70cdc
...
...
@@ -279,9 +279,10 @@ static int OpenDecoder( vlc_object_t *p_this )
static
int
OpenPacketizer
(
vlc_object_t
*
p_this
)
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
es_format_t
es_save
=
p_dec
->
fmt_out
;
int
i_ret
;
/*
Hmmm, mem leak ?
*/
/* */
es_format_Copy
(
&
p_dec
->
fmt_out
,
&
p_dec
->
fmt_in
);
i_ret
=
OpenDecoder
(
p_this
);
...
...
@@ -289,8 +290,11 @@ static int OpenPacketizer( vlc_object_t *p_this )
/* Set output properties */
p_dec
->
fmt_out
.
i_codec
=
VLC_FOURCC
(
'f'
,
'l'
,
'a'
,
'c'
);
if
(
i_ret
!=
VLC_SUCCESS
)
return
i_ret
;
if
(
i_ret
!=
VLC_SUCCESS
)
{
es_format_Clean
(
&
p_dec
->
fmt_out
);
p_dec
->
fmt_out
=
es_save
;
}
return
i_ret
;
}
...
...
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