From 8d466ff7053760ae2248b36b8f98a6c3276b0566 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 25 Sep 2010 10:49:39 +0000 Subject: af.c: add "const" to af_append(), af_prepend() prototypes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32346 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libaf/af.c b/libaf/af.c index a0462c0cfb..9ec9d2aecb 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -177,7 +177,7 @@ err_out: /* Create and insert a new filter of type name before the filter in the argument. This function can be called during runtime, the return value is the new filter */ -static af_instance_t* af_prepend(af_stream_t* s, af_instance_t* af, char* name) +static af_instance_t* af_prepend(af_stream_t* s, af_instance_t* af, const char* name) { // Create the new filter and make sure it is OK af_instance_t* new=af_create(s,name); @@ -201,7 +201,7 @@ static af_instance_t* af_prepend(af_stream_t* s, af_instance_t* af, char* name) /* Create and insert a new filter of type name after the filter in the argument. This function can be called during runtime, the return value is the new filter */ -static af_instance_t* af_append(af_stream_t* s, af_instance_t* af, char* name) +static af_instance_t* af_append(af_stream_t* s, af_instance_t* af, const char* name) { // Create the new filter and make sure it is OK af_instance_t* new=af_create(s,name); -- cgit v1.2.3