summaryrefslogtreecommitdiff
path: root/src/modules/emotion/libvlc
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2016-03-25 09:05:36 +0100
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-28 16:40:02 +0900
commit7d3e96757d8467d9345ea83f53e77b4d98003ccf (patch)
treeed0082f19994aee9eaddc97221f95c543df6360f /src/modules/emotion/libvlc
parentf5296e8afc680e5c35c08ebb126f4f3636d32dd5 (diff)
emotion/libvlc: fix C89
Diffstat (limited to 'src/modules/emotion/libvlc')
-rw-r--r--src/modules/emotion/libvlc/emotion_libvlc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/emotion/libvlc/emotion_libvlc.c b/src/modules/emotion/libvlc/emotion_libvlc.c
index c18d5eddb9..d5fd847bbb 100644
--- a/src/modules/emotion/libvlc/emotion_libvlc.c
+++ b/src/modules/emotion/libvlc/emotion_libvlc.c
@@ -733,7 +733,7 @@ static Eina_Bool
733em_file_open(void *video, 733em_file_open(void *video,
734 const char *file) 734 const char *file)
735{ 735{
736 int ret; 736 int ret, i;
737 Emotion_LibVLC *ev = video; 737 Emotion_LibVLC *ev = video;
738 libvlc_event_manager_t *event_m; 738 libvlc_event_manager_t *event_m;
739 739
@@ -766,7 +766,7 @@ em_file_open(void *video,
766 EINA_SAFETY_ON_NULL_GOTO(ev->mp, error); 766 EINA_SAFETY_ON_NULL_GOTO(ev->mp, error);
767 767
768 event_m = libvlc_media_player_event_manager(ev->mp); 768 event_m = libvlc_media_player_event_manager(ev->mp);
769 for (int i = 0; mp_events[i] != -1; ++i) 769 for (i = 0; mp_events[i] != -1; ++i)
770 libvlc_event_attach(event_m, mp_events[i], libvlc_on_mp_event, ev); 770 libvlc_event_attach(event_m, mp_events[i], libvlc_on_mp_event, ev);
771 771
772 libvlc_media_player_set_video_title_display(ev->mp, 772 libvlc_media_player_set_video_title_display(ev->mp,
@@ -801,7 +801,7 @@ em_file_close(void *video)
801 libvlc_event_manager_t *event_m; 801 libvlc_event_manager_t *event_m;
802 802
803 event_m = libvlc_media_player_event_manager(ev->mp); 803 event_m = libvlc_media_player_event_manager(ev->mp);
804 for (int i = 0; mp_events[i] != -1; ++i) 804 for (i = 0; mp_events[i] != -1; ++i)
805 libvlc_event_detach(event_m, mp_events[i], libvlc_on_mp_event, ev); 805 libvlc_event_detach(event_m, mp_events[i], libvlc_on_mp_event, ev);
806 806
807 /* Abort libvlc callbacks */ 807 /* Abort libvlc callbacks */