[FFmpeg-devel] [PATCH 01/11] avcodec/prosumer: Remove dead code

Michael Niedermayer michael at niedermayer.cc
Sat Sep 22 19:13:57 EEST 2018


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 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;
-- 
2.19.0



More information about the ffmpeg-devel mailing list