aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-01 03:27:45 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-01 03:27:45 +0000
commit3e62b7e34c09aebab84268d7730e8a9644a87523 (patch)
tree6cb1282d721dde350bcc6736496b70a77b22127a /libswscale
parent72d6b61074ae581cb9841510e0c8d3d330f982d8 (diff)
downloadffmpeg-3e62b7e34c09aebab84268d7730e8a9644a87523.tar.gz
add const, suppress warnings
Originally committed as revision 26945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c4
1 files changed, 2 insertions, 2 deletions
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, ");