[FFmpeg-devel] [PATCH] lavu/integer: remove duplicated and unused ff_log2_tab[256]

Paul B Mahol onemda at gmail.com
Fri Oct 12 18:25:18 CEST 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavutil/integer.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/libavutil/integer.c b/libavutil/integer.c
index 5bcde0d..bfa40c2 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -159,17 +159,6 @@ int64_t av_i2int(AVInteger a){
 
 #ifdef TEST
 
-const uint8_t ff_log2_tab[256]={
-        0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
-        5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
-        6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
-        6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
-        7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-        7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-        7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-        7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
-};
-
 int main(void){
     int64_t a,b;
 
-- 
1.7.11.4



More information about the ffmpeg-devel mailing list