From 1a38d2aaeaa0017f1a928189860f5dae4e5179a8 Mon Sep 17 00:00:00 2001 From: bcoudurier Date: Sun, 1 Jun 2008 03:27:45 +0000 Subject: add const, suppress warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26945 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libswscale') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index bca92ab6fb..ac6f976afa 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2390,9 +2390,9 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH 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, "); -- cgit v1.2.3