aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-05-14 11:51:22 +0200
committerAnton Khirnov <anton@khirnov.net>2021-07-03 15:28:36 +0200
commitf8c21ccbfcb7f736b4f673523de18f0611271967 (patch)
tree75eed1c058b0cd4bee967d5b759af85bc4ef70de
parent9583e66ea0232043353bec7bda5f82554e04232c (diff)
downloadffmpeg-f8c21ccbfcb7f736b4f673523de18f0611271967.tar.gz
sws: remove unnecessary braces
There used to be more code inside them, but it was removed in 6de58b49032a206985602effec91e5e46c886ea2.
-rw-r--r--libswscale/swscale.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 12160a169a..6b73c71e41 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -487,10 +487,8 @@ static int swscale(SwsContext *c, const uint8_t *src[],
yuv2packed1, yuv2packed2, yuv2packedX, yuv2anyX, use_mmx_vfilter);
}
- {
- for (i = vStart; i < vEnd; ++i)
- desc[i].process(c, &desc[i], dstY, 1);
- }
+ for (i = vStart; i < vEnd; ++i)
+ desc[i].process(c, &desc[i], dstY, 1);
}
if (isPlanar(dstFormat) && isALPHA(dstFormat) && !needAlpha) {
int length = dstW;