aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-15 14:10:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-15 14:10:02 +0100
commit554e913fd7acc9da02ddac2c5ce9487f7f633c92 (patch)
tree25b833a76895db40644a03a9158f076b54bef85b /libswscale
parentdc54bd4e8d8cbdc51306245c3e5efcc2be580cf2 (diff)
downloadffmpeg-554e913fd7acc9da02ddac2c5ce9487f7f633c92.tar.gz
swscale/utils: remove useless ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index e4d8a1d34a..baf2c591ca 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -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)) {