mirror of https://git.ffmpeg.org/ffmpeg.git
swscale/utils: remove useless ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 554e913fd7
)
This commit is contained in:
parent
69a283e0d2
commit
5b52b4962e
|
@ -1331,8 +1331,8 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
|
||||||
dst_stride <<= 1;
|
dst_stride <<= 1;
|
||||||
|
|
||||||
if (INLINE_MMXEXT(cpu_flags) && c->srcBpc == 8 && c->dstBpc <= 14) {
|
if (INLINE_MMXEXT(cpu_flags) && c->srcBpc == 8 && c->dstBpc <= 14) {
|
||||||
c->canMMXEXTBeUsed = (dstW >= srcW && (dstW & 31) == 0 &&
|
c->canMMXEXTBeUsed = dstW >= srcW && (dstW & 31) == 0 &&
|
||||||
(srcW & 15) == 0) ? 1 : 0;
|
(srcW & 15) == 0;
|
||||||
if (!c->canMMXEXTBeUsed && dstW >= srcW && (srcW & 15) == 0
|
if (!c->canMMXEXTBeUsed && dstW >= srcW && (srcW & 15) == 0
|
||||||
|
|
||||||
&& (flags & SWS_FAST_BILINEAR)) {
|
&& (flags & SWS_FAST_BILINEAR)) {
|
||||||
|
|
Loading…
Reference in New Issue