]> git.sesse.net Git - mlt/blobdiff - src/modules/qimage/qimage_wrapper.h
Fix uninitialized pointer read. (coverity-743163)
[mlt] / src / modules / qimage / qimage_wrapper.h
index c87b193041197c201bee7e5a1076a6e65ef887ea..7e4b7395421d44b33f1e964a8f6b8d44910b7f3a 100644 (file)
@@ -46,15 +46,18 @@ struct producer_qimage_s
        int current_height;
        mlt_cache_item image_cache;
        mlt_cache_item alpha_cache;
-       pthread_mutex_t mutex;
+       mlt_cache_item qimage_cache;
+       void *qimage;
+       mlt_image_format format;
 };
 
 typedef struct producer_qimage_s *producer_qimage;
 
-extern void refresh_qimage( producer_qimage, mlt_frame, int width, int height );
-#ifdef USE_KDE
+extern int refresh_qimage( producer_qimage self, mlt_frame frame );
+extern void refresh_image( producer_qimage, mlt_frame, mlt_image_format, int width, int height );
+extern void make_tempfile( producer_qimage, const char *xml );
 extern void init_qimage();
-#endif
+
 
 #ifdef __cplusplus
 }