[FFmpeg-devel] [PATCH v3 1/2] swscale/swscale: delete unwanted assignments

lance.lmwang at gmail.com lance.lmwang at gmail.com
Sun Sep 8 16:12:14 EEST 2019


From: Limin Wang <lance.lmwang at gmail.com>

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
 libswscale/swscale.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 4069550..b4f958a 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -291,11 +291,9 @@ static int swscale(SwsContext *c, const uint8_t *src[],
 
 
     if (isPacked(c->srcFormat)) {
-        src[0] =
         src[1] =
         src[2] =
         src[3] = src[0];
-        srcStride[0] =
         srcStride[1] =
         srcStride[2] =
         srcStride[3] = srcStride[0];
-- 
2.6.4



More information about the ffmpeg-devel mailing list