summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 14:24:23 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 14:24:23 +0000
commit844c8ffc48c7e7715c43a1290188f5bdfa289821 (patch)
tree84f08c54b7cce8b02b146221488939235da9fe28 /libvo/video_out.h
parentbbab104b7e5238c510f51a8e671b3d8f4fcbfa0a (diff)
downloadmpv-844c8ffc48c7e7715c43a1290188f5bdfa289821.tar.bz2
mpv-844c8ffc48c7e7715c43a1290188f5bdfa289821.tar.xz
Mark several uses of vo_functions_t as const to stop some of the current
hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index ee31c8735b..443654692c 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -176,14 +176,14 @@ typedef struct vo_functions_s
} vo_functions_t;
-vo_functions_t* init_best_video_out(char** vo_list);
-int config_video_out(vo_functions_t *vo, uint32_t width, uint32_t height,
+const vo_functions_t* init_best_video_out(char** vo_list);
+int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height,
uint32_t d_width, uint32_t d_height, uint32_t flags,
char *title, uint32_t format);
void list_video_out(void);
// NULL terminated array of all drivers
-extern vo_functions_t* video_out_drivers[];
+extern const vo_functions_t* const video_out_drivers[];
extern int vo_flags;