Curly brackets cosmetics for previous commit.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29587 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ramiro 2009-08-29 23:08:32 +00:00
parent 53f310c52c
commit c9a80aa682
1 changed files with 3 additions and 6 deletions

View File

@ -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*)); 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) //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 */ /* 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); CHECKED_ALLOCZ(c->lumPixBuf[i+c->vLumBufSize], VOF+1);
c->lumPixBuf[i] = c->lumPixBuf[i+c->vLumBufSize]; 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); CHECKED_ALLOC(c->chrPixBuf[i+c->vChrBufSize], (VOF+1)*2);
c->chrPixBuf[i] = c->chrPixBuf[i+c->vChrBufSize]; c->chrPixBuf[i] = c->chrPixBuf[i+c->vChrBufSize];
} }
if (CONFIG_SWSCALE_ALPHA && c->alpPixBuf) 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); CHECKED_ALLOCZ(c->alpPixBuf[i+c->vLumBufSize], VOF+1);
c->alpPixBuf[i] = c->alpPixBuf[i+c->vLumBufSize]; c->alpPixBuf[i] = c->alpPixBuf[i+c->vLumBufSize];
} }