Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
a1440bea
Commit
a1440bea
authored
Sep 14, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unsafe use of b_dead.
Fortunately, var_DelCallback does the job properly already.
parent
14f81bb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
+0
-7
No files found.
modules/misc/audioscrobbler.c
View file @
a1440bea
...
...
@@ -227,7 +227,6 @@ static void Close( vlc_object_t *p_this )
pl_Release
(
p_intf
);
}
p_intf
->
b_dead
=
true
;
int
i
;
for
(
i
=
0
;
i
<
p_sys
->
i_songs
;
i
++
)
DeleteSong
(
&
p_sys
->
p_queue
[
i
]
);
...
...
@@ -470,9 +469,6 @@ static int PlayingChange( vlc_object_t *p_this, const char *psz_var,
VLC_UNUSED
(
p_this
);
VLC_UNUSED
(
psz_var
);
if
(
p_intf
->
b_dead
)
return
VLC_SUCCESS
;
if
(
p_sys
->
b_meta_read
==
false
&&
newval
.
i_int
>=
PLAYING_S
)
{
ReadMetaData
(
p_intf
);
...
...
@@ -505,9 +501,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
VLC_UNUSED
(
p_this
);
VLC_UNUSED
(
psz_var
);
VLC_UNUSED
(
oldval
);
VLC_UNUSED
(
newval
);
if
(
p_intf
->
b_dead
)
return
VLC_SUCCESS
;
p_sys
->
b_state_cb
=
false
;
p_sys
->
b_meta_read
=
false
;
p_sys
->
b_submit
=
false
;
...
...
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