summaryrefslogtreecommitdiff
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-01-17 08:12:23 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-17 08:12:23 +0000
commitb8db4e22de59b98518d21a4cbcf5fde535d175f8 (patch)
treee21ed252a049906745b76e55c6adea2da6134112 /libswscale/swscale.c
parent337a2a4530109c40b5c9a3b3d04d9b45f35e7c89 (diff)
Description: remove superfluous parentheses.
Originally committed as revision 25776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 05e1def3c8..3ef30c2408 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2965,11 +2965,11 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
param = default_param;
if (context != NULL) {
- if ((context->srcW != srcW) || (context->srcH != srcH) ||
- (context->srcFormat != srcFormat) ||
- (context->dstW != dstW) || (context->dstH != dstH) ||
- (context->dstFormat != dstFormat) || (context->flags != flags) ||
- (context->param[0] != param[0]) || (context->param[1] != param[1]))
+ if (context->srcW != srcW || context->srcH != srcH ||
+ context->srcFormat != srcFormat ||
+ context->dstW != dstW || context->dstH != dstH ||
+ context->dstFormat != dstFormat || context->flags != flags ||
+ context->param[0] != param[0] || context->param[1] != param[1])
{
sws_freeContext(context);
context = NULL;