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
0c24ead9
Commit
0c24ead9
authored
Jun 02, 2009
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Core: Closed Captions memleak
parent
839552a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/input/decoder.c
src/input/decoder.c
+5
-0
No files found.
src/input/decoder.c
View file @
0c24ead9
...
...
@@ -1253,6 +1253,7 @@ static void DecoderGetCc( decoder_t *p_dec, decoder_t *p_dec_cc )
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
block_t
*
p_cc
;
bool
pb_present
[
4
];
bool
b_processed
=
false
;
int
i
;
int
i_cc_decoder
;
...
...
@@ -1284,8 +1285,12 @@ static void DecoderGetCc( decoder_t *p_dec, decoder_t *p_dec_cc )
else
DecoderProcess
(
p_owner
->
cc
.
pp_decoder
[
i
],
p_cc
);
i_cc_decoder
--
;
b_processed
=
true
;
}
vlc_mutex_unlock
(
&
p_owner
->
lock
);
if
(
!
b_processed
)
block_Release
(
p_cc
);
}
static
void
DecoderPlayVideo
(
decoder_t
*
p_dec
,
picture_t
*
p_picture
,
...
...
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