diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-09-25 10:49:39 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:18:07 +0200 |
commit | 8d466ff7053760ae2248b36b8f98a6c3276b0566 (patch) | |
tree | 481900128a67ef2760ce888ea0edaabaaab3ea27 | |
parent | c6097fd5f67f06ec90f10e2125ed58edbe66be4a (diff) | |
download | mpv-8d466ff7053760ae2248b36b8f98a6c3276b0566.tar.bz2 mpv-8d466ff7053760ae2248b36b8f98a6c3276b0566.tar.xz |
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
-rw-r--r-- | libaf/af.c | 4 |
1 files 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); |