diff libmpcodecs/ve_x264.c @ 19104:2ec2301183cd

marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
author reynaldo
date Sat, 15 Jul 2006 16:03:12 +0000
parents a08a78145d9b
children 9b4f87f86bec
line wrap: on
line diff
--- a/libmpcodecs/ve_x264.c	Sat Jul 15 15:27:09 2006 +0000
+++ b/libmpcodecs/ve_x264.c	Sat Jul 15 16:03:12 2006 +0000
@@ -208,7 +208,7 @@
 };
 
 static int parse_cqm(const char *str, uint8_t *cqm, int length,
-                     h264_module_t *mod, char *matrix_name) {
+                     h264_module_t *mod, const char *matrix_name) {
     int i;
     if (!str) return 0;
     for (i = 0; i < length; i++) {