From e01c32f260fa66fc80d286527a02cce7ca940c00 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 24 Feb 2017 19:49:39 +0100 Subject: [PATCH] avcodec/scpr: remove 4 dead store Signed-off-by: Paul B Mahol --- libavcodec/scpr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/scpr.c b/libavcodec/scpr.c index 75e8ffab32..f3809f1c5b 100644 --- a/libavcodec/scpr.c +++ b/libavcodec/scpr.c @@ -321,8 +321,6 @@ static int decompress_i(AVCodecContext *avctx, uint32_t *dst, int linesize) if (ret < 0) return ret; - cx1 = (cx << 6) & 0xFC0; - cx = b >> cxshift; clr = (b << 16) + (g << 8) + r; } if (ptype > 5) @@ -537,8 +535,6 @@ static int decompress_p(AVCodecContext *avctx, if (ret < 0) return ret; - cx1 = (cx << 6) & 0xFC0; - cx = b >> cxshift; clr = (b << 16) + (g << 8) + r; } if (ptype > 5)