Mercurial > mplayer.hg
changeset 29545:647fc86d3463
Curly brackets cosmetics for previous commit.
author | ramiro |
---|---|
date | Sat, 29 Aug 2009 23:08:32 +0000 |
parents | c7249524c681 |
children | 87b0995398b6 |
files | libswscale/swscale.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Sat Aug 29 23:06:22 2009 +0000 +++ b/libswscale/swscale.c Sat Aug 29 23:08:32 2009 +0000 @@ -2920,19 +2920,16 @@ 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]; }