[MPlayer-cvslog] r32346 - trunk/libaf/af.c

reimar subversion at mplayerhq.hu
Sat Sep 25 12:49:40 CEST 2010


Author: reimar
Date: Sat Sep 25 12:49:39 2010
New Revision: 32346

Log:
Fix af_append and af_prepend prototypes, the name should be const.

Modified:
   trunk/libaf/af.c

Modified: trunk/libaf/af.c
==============================================================================
--- trunk/libaf/af.c	Thu Sep 23 19:08:10 2010	(r32345)
+++ trunk/libaf/af.c	Sat Sep 25 12:49:39 2010	(r32346)
@@ -179,7 +179,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);
@@ -203,7 +203,7 @@ static af_instance_t* af_prepend(af_stre
 /* 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);


More information about the MPlayer-cvslog mailing list