Prefer "to %s%s" over "to%s %s", slightly more readable.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Jan 2010 19:14:29 +0000 (19:14 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Jan 2010 19:14:29 +0000 (19:14 +0000)
Originally committed as revision 30330 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index dc97389..bb274e6 100644 (file)
@@ -2834,10 +2834,10 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
         else
             av_log(c, AV_LOG_INFO, "ehh flags invalid?! ");
 
-        av_log(c, AV_LOG_INFO, "from %s to%s %s ",
+        av_log(c, AV_LOG_INFO, "from %s to %s%s ",
                sws_format_name(srcFormat),
 #ifdef DITHER1XBPP
-               dstFormat == PIX_FMT_BGR555 || dstFormat == PIX_FMT_BGR565 ? " dithered" : "",
+               dstFormat == PIX_FMT_BGR555 || dstFormat == PIX_FMT_BGR565 ? "dithered " : "",
 #else
                "",
 #endif