aboutsummaryrefslogtreecommitdiff
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authorRamiro Polla2010-01-11 07:30:28 +0000
committerRamiro Polla2010-01-11 07:30:28 +0000
commit996de2fefa999c9934c0ae2195574bdb46de2c3e (patch)
treed077829d9669e89bc9b44c0e884d35576f302990 /libswscale/swscale_template.c
parent2d4970d88dd507de1595b8ee3b65cc5da73af5ea (diff)
cosmetics: {} placement.
Originally committed as revision 30272 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r--libswscale/swscale_template.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index 9aa9bd8d41..f0d47798a7 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -2393,8 +2393,7 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth,
src= formatConvBuffer;
}
- if (!c->hyscale_fast)
- {
+ if (!c->hyscale_fast) {
c->hScale(dst, dstWidth, src, srcW, xInc, hLumFilter, hLumFilterPos, hLumFilterSize);
} else { // fast bilinear upscale / crap downscale
c->hyscale_fast(c, dst, dstWidth, src, srcW, xInc);
@@ -2541,8 +2540,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth,
src2= formatConvBuffer+VOFW;
}
- if (!c->hcscale_fast)
- {
+ if (!c->hcscale_fast) {
c->hScale(dst , dstWidth, src1, srcW, xInc, hChrFilter, hChrFilterPos, hChrFilterSize);
c->hScale(dst+VOFW, dstWidth, src2, srcW, xInc, hChrFilter, hChrFilterPos, hChrFilterSize);
} else { // fast bilinear upscale / crap downscale