aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-15 14:10:02 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-12-16 02:24:12 +0100
commit9de71b0eb2d214323e87fa6cdba1da434bdde69f (patch)
treef6f433161040772f12713af7ea83515c385a5257
parent7e737609504091afae983412c004fbbae131d40c (diff)
downloadffmpeg-9de71b0eb2d214323e87fa6cdba1da434bdde69f.tar.gz
swscale/utils: remove useless ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 554e913fd7acc9da02ddac2c5ce9487f7f633c92)
-rw-r--r--libswscale/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 5170321176..c87cbf5848 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1268,8 +1268,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)) {