Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f2e79969
Commit
f2e79969
authored
Jun 05, 2004
by
hartman
Browse files
* fix a compilation error
parent
be973dfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libvlc.c
View file @
f2e79969
...
...
@@ -991,7 +991,6 @@ int VLC_AddTarget( int i_object, char const *psz_target,
*****************************************************************************/
int
VLC_Play
(
int
i_object
)
{
int
i_err
;
playlist_t
*
p_playlist
;
vlc_t
*
p_vlc
=
vlc_current_object
(
i_object
);
...
...
@@ -1009,11 +1008,11 @@ int VLC_Play( int i_object )
return
VLC_ENOOBJ
;
}
i_err
=
playlist_Play
(
p_playlist
);
playlist_Play
(
p_playlist
);
vlc_object_release
(
p_playlist
);
if
(
i_object
)
vlc_object_release
(
p_vlc
);
return
i_err
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
...
...
@@ -1021,7 +1020,6 @@ int VLC_Play( int i_object )
*****************************************************************************/
int
VLC_Pause
(
int
i_object
)
{
int
i_err
;
playlist_t
*
p_playlist
;
vlc_t
*
p_vlc
=
vlc_current_object
(
i_object
);
...
...
@@ -1039,11 +1037,11 @@ int VLC_Pause( int i_object )
return
VLC_ENOOBJ
;
}
i_err
=
playlist_Pause
(
p_playlist
);
playlist_Pause
(
p_playlist
);
vlc_object_release
(
p_playlist
);
if
(
i_object
)
vlc_object_release
(
p_vlc
);
return
i_err
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
...
...
@@ -1051,7 +1049,6 @@ int VLC_Pause( int i_object )
*****************************************************************************/
int
VLC_Stop
(
int
i_object
)
{
int
i_err
;
playlist_t
*
p_playlist
;
vlc_t
*
p_vlc
=
vlc_current_object
(
i_object
);
...
...
@@ -1069,11 +1066,11 @@ int VLC_Stop( int i_object )
return
VLC_ENOOBJ
;
}
i_err
=
playlist_Stop
(
p_playlist
);
playlist_Stop
(
p_playlist
);
vlc_object_release
(
p_playlist
);
if
(
i_object
)
vlc_object_release
(
p_vlc
);
return
i_err
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
...
...
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