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
This commit is contained in:
reimar 2010-09-25 10:49:39 +00:00 committed by Uoti Urpala
parent c6097fd5f6
commit 8d466ff705
1 changed files with 2 additions and 2 deletions

View File

@ -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);