changeset 26913:2ef7839deae2

add const, suppress warnings
author bcoudurier
date Sun, 01 Jun 2008 03:27:45 +0000
parents 794c8b614799
children f910db69b343
files libswscale/swscale.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Jun 01 03:25:07 2008 +0000
+++ b/libswscale/swscale.c	Sun Jun 01 03:27:45 2008 +0000
@@ -2390,9 +2390,9 @@
     if (flags&SWS_PRINT_INFO)
     {
 #ifdef DITHER1XBPP
-        char *dither= " dithered";
+        const char *dither= " dithered";
 #else
-        char *dither= "";
+        const char *dither= "";
 #endif
         if (flags&SWS_FAST_BILINEAR)
             av_log(c, AV_LOG_INFO, "FAST_BILINEAR scaler, ");