Commit 554e913f authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/utils: remove useless ()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dc54bd4e
......@@ -1341,8 +1341,8 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
dst_stride <<= 1;
if (INLINE_MMXEXT(cpu_flags) && c->srcBpc == 8 && c->dstBpc <= 14) {
c->canMMXEXTBeUsed = (dstW >= srcW && (dstW & 31) == 0 &&
(srcW & 15) == 0) ? 1 : 0;
c->canMMXEXTBeUsed = dstW >= srcW && (dstW & 31) == 0 &&
(srcW & 15) == 0;
if (!c->canMMXEXTBeUsed && dstW >= srcW && (srcW & 15) == 0
&& (flags & SWS_FAST_BILINEAR)) {
......
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