diff mencoder.c @ 25219:e82ecde2cbd4

Mark several uses of vo_functions_t as const to stop some of the current hacks e.g. in vidix code from spreading.
author reimar
date Sun, 02 Dec 2007 14:24:23 +0000
parents 2bfc75674b71
children f46e91c64b39
line wrap: on
line diff
--- a/mencoder.c	Sun Dec 02 14:17:45 2007 +0000
+++ b/mencoder.c	Sun Dec 02 14:24:23 2007 +0000
@@ -215,7 +215,7 @@
 char *info_comment=NULL;
 
 // Needed by libmpcodecs vf_vo.c
-int config_video_out(vo_functions_t *vo, uint32_t width, uint32_t height,
+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) {
   return 1;