diff mencoder.c @ 18980:ed69754aa58d

Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
author reynaldo
date Sun, 09 Jul 2006 17:45:36 +0000
parents 9e95ac641e77
children a2f20562aac3
line wrap: on
line diff
--- a/mencoder.c	Sun Jul 09 17:00:23 2006 +0000
+++ b/mencoder.c	Sun Jul 09 17:45:36 2006 +0000
@@ -299,7 +299,7 @@
 
 #include "libao2/audio_out.h"
 /* FIXME */
-static void mencoder_exit(int level, char *how)
+static void mencoder_exit(int level, const char *how)
 {
     if (how)
 	mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_ExitingHow, how);