Commit 70d5cf3e authored by stefano's avatar stefano

Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightly

simplify code.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30432 b3059339-0415-0410-9bf9-f77b7e298cf2
parent c072a16f
......@@ -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");
......
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