[MPlayer-cvslog] r33244 - trunk/libaf/af.c
    reimar 
    subversion at mplayerhq.hu
       
    Sat Apr  9 22:10:12 CEST 2011
    
    
  
Author: reimar
Date: Sat Apr  9 22:10:12 2011
New Revision: 33244
Log:
Add const to type for pointer to a string constant.
Modified:
   trunk/libaf/af.c
Modified: trunk/libaf/af.c
==============================================================================
--- trunk/libaf/af.c	Sat Apr  9 17:09:06 2011	(r33243)
+++ trunk/libaf/af.c	Sat Apr  9 22:10:12 2011	(r33244)
@@ -491,7 +491,7 @@ int af_init(af_stream_t* s)
       af = af_control_any_rev(s, AF_CONTROL_RESAMPLE_RATE | AF_CONTROL_SET,
                &(s->output.rate));
       if (!af) {
-        char *resampler = "resample";
+        const char *resampler = "resample";
 #ifdef CONFIG_FFMPEG
         if ((AF_INIT_TYPE_MASK & s->cfg.force) == AF_INIT_SLOW)
           resampler = "lavcresample";
    
    
More information about the MPlayer-cvslog
mailing list