add const, suppress warnings
Originally committed as revision 26945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
72d6b61074
commit
3e62b7e34c
@ -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, ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user