From: englebass Date: Tue, 13 Mar 2007 16:23:59 +0000 (+0000) Subject: Fix compiler warnings. X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~459 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5aa40db35eed4f00e02f408ef23debd4dd30b98;p=profile%2Fivi%2Femotion.git Fix compiler warnings. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@28696 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/emotion_xine.c b/src/modules/emotion_xine.c index b1efd06..561d67f 100644 --- a/src/modules/emotion_xine.c +++ b/src/modules/emotion_xine.c @@ -640,7 +640,7 @@ static Emotion_Format em_format_get(void *ef) { Emotion_Xine_Video *ev; - Emotion_Xine_Video_Frame *fr; + volatile Emotion_Xine_Video_Frame *fr; ev = (Emotion_Xine_Video *)ef; fr = ev->cur_frame; @@ -652,7 +652,7 @@ static void em_video_data_size_get(void *ef, int *w, int *h) { Emotion_Xine_Video *ev; - Emotion_Xine_Video_Frame *fr; + volatile Emotion_Xine_Video_Frame *fr; ev = (Emotion_Xine_Video *)ef; fr = ev->cur_frame; @@ -670,7 +670,7 @@ static int em_yuv_rows_get(void *ef, int w, int h, unsigned char **yrows, unsigned char **urows, unsigned char **vrows) { Emotion_Xine_Video *ev; - Emotion_Xine_Video_Frame *fr; + volatile Emotion_Xine_Video_Frame *fr; ev = (Emotion_Xine_Video *)ef; fr = ev->cur_frame; @@ -691,7 +691,7 @@ static int em_bgra_data_get(void *ef, unsigned char **bgra_data) { Emotion_Xine_Video *ev; - Emotion_Xine_Video_Frame *fr; + volatile Emotion_Xine_Video_Frame *fr; ev = (Emotion_Xine_Video *)ef; fr = ev->cur_frame; @@ -1477,7 +1477,7 @@ const static Emotion_Video_Module em_module = }; unsigned char -module_open(Evas_Object *obj, Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt) +module_open(Evas_Object *obj, const Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt) { if (!module) return 0; diff --git a/src/modules/emotion_xine.h b/src/modules/emotion_xine.h index a71272c..f5e0121 100644 --- a/src/modules/emotion_xine.h +++ b/src/modules/emotion_xine.h @@ -9,7 +9,7 @@ typedef struct _Emotion_Xine_Video Emotion_Xine_Video; typedef struct _Emotion_Xine_Video_Frame Emotion_Xine_Video_Frame; -typedef struct _Emotion_Xine_Event Emotion_Xine_Event; +typedef struct _Emotion_Xine_Event Emotion_Xine_Event; struct _Emotion_Xine_Video { @@ -85,7 +85,7 @@ struct _Emotion_Xine_Event int mtype; }; -unsigned char module_open(Evas_Object *obj, Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt); +unsigned char module_open(Evas_Object *obj, const Emotion_Video_Module **module, void **video, Emotion_Module_Options *opt); void module_close(Emotion_Video_Module *module, void *video); #endif