[FFmpeg-cvslog] sws: remove unnecessary braces
Anton Khirnov
git at videolan.org
Sat Jul 3 17:19:55 EEST 2021
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri May 14 11:51:22 2021 +0200| [f8c21ccbfcb7f736b4f673523de18f0611271967] | committer: Anton Khirnov
sws: remove unnecessary braces
There used to be more code inside them, but it was removed in
6de58b49032a206985602effec91e5e46c886ea2.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8c21ccbfcb7f736b4f673523de18f0611271967
---
libswscale/swscale.c | 6 ++----
1 file 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;
More information about the ffmpeg-cvslog
mailing list