diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2007-05-02 07:02:16 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-05-02 07:02:16 +0000 |
commit | c4ca31d0a865d10fbc97f4917eaa1886a05147aa (patch) | |
tree | e314840a6d260e8a586749b0e43f9a6913d7d55b /libswscale | |
parent | 068b0f4f29bf0b38144e52b4ce5623400eb91d48 (diff) | |
download | ffmpeg-c4ca31d0a865d10fbc97f4917eaa1886a05147aa.tar.gz |
cosmetics: indentation after previous patch
Originally committed as revision 23207 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 1d26d125a1..266177068d 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1613,22 +1613,22 @@ static int rgb2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr if(conv) { - if (dstStride[0]*srcBpp == srcStride[0]*dstBpp) - conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]); - else - { - int i; - uint8_t *srcPtr= src[0]; - uint8_t *dstPtr= dst[0] + dstStride[0]*srcSliceY; - - for (i=0; i<srcSliceH; i++) + if (dstStride[0]*srcBpp == srcStride[0]*dstBpp) + conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]); + else { - conv(srcPtr, dstPtr, c->srcW*srcBpp); - srcPtr+= srcStride[0]; - dstPtr+= dstStride[0]; + 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); + srcPtr+= srcStride[0]; + dstPtr+= dstStride[0]; + } } } - } return srcSliceH; } |