fix corruption on empty sel_fname
[libpicofe.git] / plat.h
diff --git a/plat.h b/plat.h
index 139ea47..ab9b3e7 100644 (file)
--- a/plat.h
+++ b/plat.h
@@ -1,6 +1,8 @@
 #ifndef LIBPICOFE_PLAT_H
 #define LIBPICOFE_PLAT_H
 
+#include <stdlib.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -14,7 +16,11 @@ struct plat_target {
        int (*lcdrate_set)(int is_pal);
        int (*gamma_set)(int val, int black_level);
        int (*step_volume)(int is_up);
-       char **hwfilters;
+       const char **vout_methods;
+       int vout_method;
+       int vout_fullscreen;
+       const char **hwfilters;
+       int hwfilter;
 };
 
 extern struct plat_target plat_target;