mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Cosmetics: reindent and unify whitespace
Originally committed as revision 31757 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
72ae5049e1
commit
e593826b93
@ -1663,10 +1663,10 @@ static int planarCopyWrapper(SwsContext *c, const uint8_t* src[], int srcStride[
|
||||
srcPtr+= srcStride[plane];
|
||||
dstPtr+= dstStride[plane];
|
||||
}
|
||||
} else if (dstStride[plane]==srcStride[plane] && srcStride[plane] > 0 &&
|
||||
srcStride[plane] == length) {
|
||||
memcpy(dst[plane] + dstStride[plane]*y, src[plane],
|
||||
height*dstStride[plane]);
|
||||
} else if (dstStride[plane] == srcStride[plane] &&
|
||||
srcStride[plane] > 0 && srcStride[plane] == length) {
|
||||
memcpy(dst[plane] + dstStride[plane]*y, src[plane],
|
||||
height*dstStride[plane]);
|
||||
} else {
|
||||
if(is16BPS(c->srcFormat) && is16BPS(c->dstFormat))
|
||||
length*=2;
|
||||
|
Loading…
Reference in New Issue
Block a user