mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
cosmetics: indentation after previous patch
Originally committed as revision 23207 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
068b0f4f29
commit
c4ca31d0a8
@ -1613,22 +1613,22 @@ static int rgb2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr
|
|||||||
|
|
||||||
if(conv)
|
if(conv)
|
||||||
{
|
{
|
||||||
if (dstStride[0]*srcBpp == srcStride[0]*dstBpp)
|
if (dstStride[0]*srcBpp == srcStride[0]*dstBpp)
|
||||||
conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]);
|
conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]);
|
||||||
else
|
else
|
||||||
{
|
|
||||||
int i;
|
|
||||||
uint8_t *srcPtr= src[0];
|
|
||||||
uint8_t *dstPtr= dst[0] + dstStride[0]*srcSliceY;
|
|
||||||
|
|
||||||
for (i=0; i<srcSliceH; i++)
|
|
||||||
{
|
{
|
||||||
conv(srcPtr, dstPtr, c->srcW*srcBpp);
|
int i;
|
||||||
srcPtr+= srcStride[0];
|
uint8_t *srcPtr= src[0];
|
||||||
dstPtr+= dstStride[0];
|
uint8_t *dstPtr= dst[0] + dstStride[0]*srcSliceY;
|
||||||
|
|
||||||
|
for (i=0; i<srcSliceH; i++)
|
||||||
|
{
|
||||||
|
conv(srcPtr, dstPtr, c->srcW*srcBpp);
|
||||||
|
srcPtr+= srcStride[0];
|
||||||
|
dstPtr+= dstStride[0];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return srcSliceH;
|
return srcSliceH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user