diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 9b49477321..fbfc006a98 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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