[FFmpeg-cvslog] avcodec/prosumer: Remove dead code

Michael Niedermayer git at videolan.org
Mon Sep 24 01:59:23 EEST 2018


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Sep 22 18:13:57 2018 +0200| [674727291b340f7ee8af0e2df2293e7ba4e249ba] | committer: Michael Niedermayer

avcodec/prosumer: Remove dead code

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/prosumer.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c
index a2932852c9..e6959bfb6c 100644
--- a/libavcodec/prosumer.c
+++ b/libavcodec/prosumer.c
@@ -322,9 +322,6 @@ static void fill_lut(uint32_t *lut)
         uint32_t b = a & 0xFFu;
         uint32_t c, d, e;
 
-        if (b > 3)
-            continue;
-
         c = (b << 16) | table[i-1];
         d = 4 * (3 - b);
         e = (((0xFFF00000u << d) & a) >> 20) & 0xFFF;



More information about the ffmpeg-cvslog mailing list