[vlc-devel] commit: Temporary fix for compilation (Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Sep 8 10:29:46 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 8 10:29:10 2009 +0200| [b670c924ad3ce41642a36560d4b8e39bf2ae651a] | committer: Jean-Baptiste Kempf
Temporary fix for compilation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b670c924ad3ce41642a36560d4b8e39bf2ae651a
---
src/control/event.c | 1 +
src/control/media_list_player.c | 1 +
src/control/video.c | 8 +++++++-
3 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/control/event.c b/src/control/event.c
index af7f9aa..4466e37 100644
--- a/src/control/event.c
+++ b/src/control/event.c
@@ -358,6 +358,7 @@ void libvlc_event_detach( libvlc_event_manager_t *p_event_manager,
void *p_user_data,
libvlc_exception_t *p_e )
{
+ VLC_UNUSED( p_e );
libvlc_event_listeners_group_t * listeners_group;
libvlc_event_listener_t * listener;
int i, j;
diff --git a/src/control/media_list_player.c b/src/control/media_list_player.c
index 8ad8206..7f30020 100644
--- a/src/control/media_list_player.c
+++ b/src/control/media_list_player.c
@@ -566,6 +566,7 @@ void libvlc_media_list_player_set_media_player(libvlc_media_list_player_t * p_ml
**************************************************************************/
void libvlc_media_list_player_set_media_list(libvlc_media_list_player_t * p_mlp, libvlc_media_list_t * p_mlist, libvlc_exception_t * p_e)
{
+ VLC_UNUSED( p_e );
assert (p_mlist);
lock(p_mlp);
diff --git a/src/control/video.c b/src/control/video.c
index a7d854a..e48e2c2 100644
--- a/src/control/video.c
+++ b/src/control/video.c
@@ -425,6 +425,8 @@ int libvlc_video_get_teletext( libvlc_media_player_t *p_mi,
vlc_object_release( p_vout );
return i_ret;
#else
+ VLC_UNUSED( p_mi );
+ VLC_UNUSED( p_e );
return -1;
#endif
}
@@ -450,6 +452,10 @@ void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page,
"Unexpected error while setting teletext page" );
}
vlc_object_release( p_vout );
+#else
+ VLC_UNUSED( p_mi );
+ VLC_UNUSED( p_e );
+ VLC_UNUSED( i_page );
#endif
}
@@ -457,7 +463,6 @@ void libvlc_toggle_teletext( libvlc_media_player_t *p_mi,
libvlc_exception_t *p_e )
{
input_thread_t *p_input_thread;
- int i_ret;
p_input_thread = libvlc_get_input_thread(p_mi, p_e);
if( !p_input_thread ) return;
@@ -469,6 +474,7 @@ void libvlc_toggle_teletext( libvlc_media_player_t *p_mi,
}
const bool b_selected = var_GetInteger( p_input_thread, "teletext-es" ) >= 0;
#if 0
+ int i_ret;
vlc_object_t *p_vbi;
p_vbi = (vlc_object_t *)vlc_object_find_name( p_input_thread, "zvbi",
FIND_CHILD );
More information about the vlc-devel
mailing list