[MPlayer-cvslog] r26945 - trunk/libswscale/swscale.c

bcoudurier subversion at mplayerhq.hu
Sun Jun 1 05:27:45 CEST 2008


Author: bcoudurier
Date: Sun Jun  1 05:27:45 2008
New Revision: 26945

Log:
add const, suppress warnings

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Sun Jun  1 05:27:45 2008
@@ -2390,9 +2390,9 @@ SwsContext *sws_getContext(int srcW, int
     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, ");



More information about the MPlayer-cvslog mailing list