[FFmpeg-cvslog] swscale/utils: remove useless ()
Michael Niedermayer
git at videolan.org
Mon Dec 16 02:27:02 CET 2013
ffmpeg | branch: release/2.1 | Michael Niedermayer <michaelni at gmx.at> | Sun Dec 15 14:10:02 2013 +0100| [5b52b4962e22e3202901a2d89ab34376adf4c928] | committer: Carl Eugen Hoyos
swscale/utils: remove useless ()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 554e913fd7acc9da02ddac2c5ce9487f7f633c92)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b52b4962e22e3202901a2d89ab34376adf4c928
---
libswscale/utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 69087dc..2cad0c8 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1331,8 +1331,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)) {
More information about the ffmpeg-cvslog
mailing list