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
1994eafa
Commit
1994eafa
authored
Feb 17, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release_input_thread: NULL check after dereference
parent
5af0a5d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/control/media_player.c
src/control/media_player.c
+3
-4
No files found.
src/control/media_player.c
View file @
1994eafa
...
...
@@ -102,13 +102,12 @@ static inline void unlock(libvlc_media_player_t *mp)
*/
static
void
release_input_thread
(
libvlc_media_player_t
*
p_mi
,
bool
b_input_abort
)
{
input_thread_t
*
p_input_thread
;
assert
(
p_mi
)
;
if
(
!
p_mi
||
!
p_mi
->
p_input_thread
)
input_thread_t
*
p_input_thread
=
p_mi
->
p_input_thread
;
if
(
!
p_input_thread
)
return
;
p_input_thread
=
p_mi
->
p_input_thread
;
var_DelCallback
(
p_input_thread
,
"can-seek"
,
input_seekable_changed
,
p_mi
);
var_DelCallback
(
p_input_thread
,
"can-pause"
,
...
...
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