mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
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:
parent
c6097fd5f6
commit
8d466ff705
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user