changeset 33157:8073274a9ff2

Add const to type for pointer to a string constant.
author reimar
date Sat, 09 Apr 2011 20:10:12 +0000
parents 9ac31195a5e0
children 775c82e1ece9
files libaf/af.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af.c	Sat Apr 09 15:09:06 2011 +0000
+++ b/libaf/af.c	Sat Apr 09 20:10:12 2011 +0000
@@ -491,7 +491,7 @@
       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";