Commit 9e347cde authored by bcoudurier's avatar bcoudurier

add const, suppress warnings

git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@26945 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 2985ec5a
...@@ -2390,9 +2390,9 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH ...@@ -2390,9 +2390,9 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
if (flags&SWS_PRINT_INFO) if (flags&SWS_PRINT_INFO)
{ {
#ifdef DITHER1XBPP #ifdef DITHER1XBPP
char *dither= " dithered"; const char *dither= " dithered";
#else #else
char *dither= ""; const char *dither= "";
#endif #endif
if (flags&SWS_FAST_BILINEAR) if (flags&SWS_FAST_BILINEAR)
av_log(c, AV_LOG_INFO, "FAST_BILINEAR scaler, "); av_log(c, AV_LOG_INFO, "FAST_BILINEAR scaler, ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment