aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-08-29 23:08:32 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-08-29 23:08:32 +0000
commit67c2c5bb2ef59fca4a378de8b31110431b3cc13e (patch)
tree9142dfd0711339dd40bee0911101bfa5be515cc3
parent1ddb5747df964d0a0382169e9a22c471da9ff864 (diff)
downloadffmpeg-67c2c5bb2ef59fca4a378de8b31110431b3cc13e.tar.gz
Curly brackets cosmetics for previous commit.
Originally committed as revision 29587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r--libswscale/swscale.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 60b1d4b66e..92b4b8007d 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2920,19 +2920,16 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
CHECKED_ALLOCZ(c->alpPixBuf, c->vLumBufSize*2*sizeof(int16_t*));
//Note we need at least one pixel more at the end because of the MMX code (just in case someone wanna replace the 4000/8000)
/* align at 16 bytes for AltiVec */
- for (i=0; i<c->vLumBufSize; i++)
- {
+ for (i=0; i<c->vLumBufSize; i++) {
CHECKED_ALLOCZ(c->lumPixBuf[i+c->vLumBufSize], VOF+1);
c->lumPixBuf[i] = c->lumPixBuf[i+c->vLumBufSize];
}
- for (i=0; i<c->vChrBufSize; i++)
- {
+ for (i=0; i<c->vChrBufSize; i++) {
CHECKED_ALLOC(c->chrPixBuf[i+c->vChrBufSize], (VOF+1)*2);
c->chrPixBuf[i] = c->chrPixBuf[i+c->vChrBufSize];
}
if (CONFIG_SWSCALE_ALPHA && c->alpPixBuf)
- for (i=0; i<c->vLumBufSize; i++)
- {
+ for (i=0; i<c->vLumBufSize; i++) {
CHECKED_ALLOCZ(c->alpPixBuf[i+c->vLumBufSize], VOF+1);
c->alpPixBuf[i] = c->alpPixBuf[i+c->vLumBufSize];
}