[vlc-devel] Missing break causing case fall through
Jakob Fries
jakob.fries at gmail.com
Mon Sep 1 19:34:21 CEST 2008
Hello,
This is a patch adding a missing break.
diff --git a/src/control/media_player.c b/src/control/media_player.c
index a90d177..0928900 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -183,6 +183,7 @@ input_state_changed( const vlc_event_t * event,
void * p_userdata )
case END_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Ended, NULL);
forwarded_event.type = libvlc_MediaPlayerEndReached;
+ break;
case ERROR_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Error, NULL);
forwarded_event.type = libvlc_MediaPlayerEncounteredError;
More information about the vlc-devel
mailing list