Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
eb463cab
Commit
eb463cab
authored
Oct 04, 2006
by
zorglub
Browse files
Fix a few bugs
parent
b5c95699
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/misc/variables.c
View file @
eb463cab
...
...
@@ -275,7 +275,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
vlc_value_t
val
;
if
(
InheritValue
(
p_this
,
psz_name
,
&
val
,
p_var
->
i_type
)
==
VLC_SUCCESS
)
;
==
VLC_SUCCESS
)
{
/* Free data if needed */
p_var
->
pf_free
(
&
p_var
->
val
);
...
...
@@ -619,7 +619,7 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
vlc_value_t
val
;
if
(
InheritValue
(
p_this
,
psz_name
,
&
val
,
p_var
->
i_type
)
==
VLC_SUCCESS
)
;
==
VLC_SUCCESS
)
{
/* Duplicate already done */
...
...
src/playlist/control.c
View file @
eb463cab
...
...
@@ -232,7 +232,7 @@ int playlist_AskForArtEnqueue( playlist_t *p_playlist,
p_playlist
->
p_secondary_preparse
->
i_waiting
,
i
,
p
);
vlc_mutex_unlock
(
&
p_playlist
->
p_secondary_preparse
->
object_lock
);
vlc_cond_signal
(
&
p_playlist
->
p_secondary_preparse
->
object_
lock
);
vlc_cond_signal
(
&
p_playlist
->
p_secondary_preparse
->
object_
wait
);
return
VLC_SUCCESS
;
}
...
...
src/playlist/thread.c
View file @
eb463cab
...
...
@@ -206,19 +206,15 @@ static void EndPlaylist( playlist_t *p_playlist )
*****************************************************************************/
static
void
RunPreparse
(
playlist_preparse_t
*
p_obj
)
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
p_obj
->
p_parent
;
/* Tell above that we're ready */
vlc_thread_ready
(
p_obj
);
playlist_PreparseLoop
(
p_obj
);
}
static
void
RunSecondaryPreparse
(
playlist_secondary_preparse_t
*
p_obj
)
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
p_obj
->
p_parent
;
/* Tell above that we're ready */
vlc_thread_ready
(
p_obj
);
playlist_SecondaryPreparseLoop
(
p_obj
);
}
...
...
src/stream_output/profiles.c
View file @
eb463cab
...
...
@@ -240,7 +240,7 @@ void streaming_ParameterApply( sout_param_t *p_param, char **ppsz_dest,
break
;
case
VLC_VAR_STRING
:
assert
(
ppsz_dest
);
FREENULL
(
*
*
ppsz_dest
);
free
(
*
ppsz_dest
);
*
ppsz_dest
=
p_param
->
value
.
psz_string
?
strdup
(
p_param
->
value
.
psz_string
)
:
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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