summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorbenoit <benoit@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-17 08:12:23 +0000
committerbenoit <benoit@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-17 08:12:23 +0000
commit94f335184126f6984dac29306060a5e56fb6b93f (patch)
tree06fc4385860049c23fc6a89384f5bd6e036ec3eb /libswscale/swscale.c
parent6e8c03910d32063e1c776fbf8942a7877dfded47 (diff)
downloadmpv-94f335184126f6984dac29306060a5e56fb6b93f.tar.bz2
mpv-94f335184126f6984dac29306060a5e56fb6b93f.tar.xz
Description: remove superfluous parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25776 b3059339-0415-0410-9bf9-f77b7e298cf2
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;