diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-25 22:46:09 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-25 22:46:09 +0000 |
commit | 7b87519b323751d391318d9bbfa1e7bbf5f1e7fb (patch) | |
tree | a972246b61a0d816d728b239ca1521eb720fd006 | |
parent | 021dccba1ff01b9005199fe8671a1887a262b430 (diff) | |
download | ffmpeg-7b87519b323751d391318d9bbfa1e7bbf5f1e7fb.tar.gz |
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightly
simplify code.
Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 6bbd4fac0c..1a8b1f11e8 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -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"); |