Commit 5a901737 authored by Ramiro Polla's avatar Ramiro Polla

swscale: remove useless temporary variable

Originally committed as revision 32258 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent cf1cd520
......@@ -1317,12 +1317,10 @@ static void copyPlane(const uint8_t *src, int srcStride,
memcpy(dst, src, srcSliceH * dstStride);
} else {
int i;
const uint8_t *srcPtr = src;
uint8_t *dstPtr= dst;
for (i=0; i<srcSliceH; i++) {
memcpy(dstPtr, srcPtr, width);
srcPtr += srcStride;
dstPtr += dstStride;
memcpy(dst, src, width);
src += srcStride;
dst += dstStride;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment