Fix compiler warnings.
authorenglebass <englebass>
Tue, 13 Mar 2007 16:23:59 +0000 (16:23 +0000)
committerenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Mar 2007 16:23:59 +0000 (16:23 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@28696 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/emotion_xine.c
src/modules/emotion_xine.h

index b1efd06..561d67f 100644 (file)
@@ -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;
index a71272c..f5e0121 100644 (file)
@@ -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