summaryrefslogtreecommitdiff
path: root/legacy/emotion/src
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2007-03-13 16:23:59 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2007-03-13 16:23:59 +0000
commit314ec9ce7a40bedef620663f095f2a388cb70ac7 (patch)
treeaa72f2d3a1af10f93d02010590032d63602012ef /legacy/emotion/src
parentf7cc0332f55d4442fb86cf25f3eb120768134772 (diff)
Fix compiler warnings.
SVN revision: 28696
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/emotion_xine.c10
-rw-r--r--legacy/emotion/src/modules/emotion_xine.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/legacy/emotion/src/modules/emotion_xine.c b/legacy/emotion/src/modules/emotion_xine.c
index b1efd06c1f..561d67fb1e 100644
--- a/legacy/emotion/src/modules/emotion_xine.c
+++ b/legacy/emotion/src/modules/emotion_xine.c
@@ -640,7 +640,7 @@ static Emotion_Format
640em_format_get(void *ef) 640em_format_get(void *ef)
641{ 641{
642 Emotion_Xine_Video *ev; 642 Emotion_Xine_Video *ev;
643 Emotion_Xine_Video_Frame *fr; 643 volatile Emotion_Xine_Video_Frame *fr;
644 644
645 ev = (Emotion_Xine_Video *)ef; 645 ev = (Emotion_Xine_Video *)ef;
646 fr = ev->cur_frame; 646 fr = ev->cur_frame;
@@ -652,7 +652,7 @@ static void
652em_video_data_size_get(void *ef, int *w, int *h) 652em_video_data_size_get(void *ef, int *w, int *h)
653{ 653{
654 Emotion_Xine_Video *ev; 654 Emotion_Xine_Video *ev;
655 Emotion_Xine_Video_Frame *fr; 655 volatile Emotion_Xine_Video_Frame *fr;
656 656
657 ev = (Emotion_Xine_Video *)ef; 657 ev = (Emotion_Xine_Video *)ef;
658 fr = ev->cur_frame; 658 fr = ev->cur_frame;
@@ -670,7 +670,7 @@ static int
670em_yuv_rows_get(void *ef, int w, int h, unsigned char **yrows, unsigned char **urows, unsigned char **vrows) 670em_yuv_rows_get(void *ef, int w, int h, unsigned char **yrows, unsigned char **urows, unsigned char **vrows)
671{ 671{
672 Emotion_Xine_Video *ev; 672 Emotion_Xine_Video *ev;
673 Emotion_Xine_Video_Frame *fr; 673 volatile Emotion_Xine_Video_Frame *fr;
674 674
675 ev = (Emotion_Xine_Video *)ef; 675 ev = (Emotion_Xine_Video *)ef;
676 fr = ev->cur_frame; 676 fr = ev->cur_frame;
@@ -691,7 +691,7 @@ static int
691em_bgra_data_get(void *ef, unsigned char **bgra_data) 691em_bgra_data_get(void *ef, unsigned char **bgra_data)
692{ 692{
693 Emotion_Xine_Video *ev; 693 Emotion_Xine_Video *ev;
694 Emotion_Xine_Video_Frame *fr; 694 volatile Emotion_Xine_Video_Frame *fr;
695 695
696 ev = (Emotion_Xine_Video *)ef; 696 ev = (Emotion_Xine_Video *)ef;
697 fr = ev->cur_frame; 697 fr = ev->cur_frame;
@@ -1477,7 +1477,7 @@ const static Emotion_Video_Module em_module =
1477}; 1477};
1478 1478
1479unsigned char 1479unsigned char
1480module_open(Evas_Object *obj, Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt) 1480module_open(Evas_Object *obj, const Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt)
1481{ 1481{
1482 if (!module) 1482 if (!module)
1483 return 0; 1483 return 0;
diff --git a/legacy/emotion/src/modules/emotion_xine.h b/legacy/emotion/src/modules/emotion_xine.h
index a71272cd83..f5e0121cc9 100644
--- a/legacy/emotion/src/modules/emotion_xine.h
+++ b/legacy/emotion/src/modules/emotion_xine.h
@@ -9,7 +9,7 @@
9 9
10typedef struct _Emotion_Xine_Video Emotion_Xine_Video; 10typedef struct _Emotion_Xine_Video Emotion_Xine_Video;
11typedef struct _Emotion_Xine_Video_Frame Emotion_Xine_Video_Frame; 11typedef struct _Emotion_Xine_Video_Frame Emotion_Xine_Video_Frame;
12typedef struct _Emotion_Xine_Event Emotion_Xine_Event; 12typedef struct _Emotion_Xine_Event Emotion_Xine_Event;
13 13
14struct _Emotion_Xine_Video 14struct _Emotion_Xine_Video
15{ 15{
@@ -85,7 +85,7 @@ struct _Emotion_Xine_Event
85 int mtype; 85 int mtype;
86}; 86};
87 87
88unsigned char module_open(Evas_Object *obj, Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt); 88unsigned char module_open(Evas_Object *obj, const Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt);
89void module_close(Emotion_Video_Module *module, void *video); 89void module_close(Emotion_Video_Module *module, void *video);
90 90
91#endif 91#endif