[FFmpeg-cvslog] avcodec/scpr: remove 4 dead store

Paul B Mahol git at videolan.org
Fri Feb 24 20:54:21 EET 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Feb 24 19:49:39 2017 +0100| [e01c32f260fa66fc80d286527a02cce7ca940c00] | committer: Paul B Mahol

avcodec/scpr: remove 4 dead store

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e01c32f260fa66fc80d286527a02cce7ca940c00
---

 libavcodec/scpr.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/scpr.c b/libavcodec/scpr.c
index 75e8ffa..f3809f1 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)



More information about the ffmpeg-cvslog mailing list