From 58ed2c3fe035313bfc7feca7fd18abb84fa4fad1 Mon Sep 17 00:00:00 2001 From: reynaldo Date: Sat, 15 Jul 2006 16:03:12 +0000 Subject: marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_libvorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpcodecs/ad_libvorbis.c') diff --git a/libmpcodecs/ad_libvorbis.c b/libmpcodecs/ad_libvorbis.c index 637b4f669f..0b6ef3eac0 100644 --- a/libmpcodecs/ad_libvorbis.c +++ b/libmpcodecs/ad_libvorbis.c @@ -38,7 +38,7 @@ typedef struct ov_struct_st { #endif } ov_struct_t; -static int read_vorbis_comment( char* ptr, char* comment, char* format, ... ) { +static int read_vorbis_comment( char* ptr, const char* comment, const char* format, ... ) { va_list va; int clen, ret; -- cgit v1.2.3