Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightly
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 25 Jan 2010 22:46:09 +0000 (22:46 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 25 Jan 2010 22:46:09 +0000 (22:46 +0000)
simplify code.

Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/utils.c

index 6bbd4fac0ca5b1d58b98bb610725d03fcccb3074..1a8b1f11e8a52817354a98454b31450a303a5b00 100644 (file)
@@ -1126,9 +1126,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat,
             av_log(c, AV_LOG_INFO, "using AltiVec\n");
         else
             av_log(c, AV_LOG_INFO, "using C\n");
-    }
 
-    if (flags & SWS_PRINT_INFO) {
         if (flags & SWS_CPU_CAPS_MMX) {
             if (c->canMMX2BeUsed && (flags&SWS_FAST_BILINEAR))
                 av_log(c, AV_LOG_VERBOSE, "using FAST_BILINEAR MMX2 scaler for horizontal scaling\n");