diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-02 22:46:11 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-03 00:43:56 +0200 |
commit | 752207e36bd9ee0df0183c5ecb0a53a12caea5df (patch) | |
tree | 0490c92dd33315bc8d8c50885bebe076d3c05891 /libavcodec | |
parent | b751f611065f1fe1d7216971c4b100c928a3b0d5 (diff) | |
download | ffmpeg-752207e36bd9ee0df0183c5ecb0a53a12caea5df.tar.gz |
cook: Remove unused debug functions.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cook.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 79aee2e5eb..dfba2c553b 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -166,38 +166,6 @@ typedef struct cook { static float pow2tab[127]; static float rootpow2tab[127]; -/* debug functions */ - -#ifdef COOKDEBUG -static void dump_float_table(float* table, int size, int delimiter) { - int i=0; - av_log(NULL,AV_LOG_ERROR,"\n[%d]: ",i); - for (i=0 ; i<size ; i++) { - av_log(NULL, AV_LOG_ERROR, "%5.1f, ", table[i]); - if ((i+1)%delimiter == 0) av_log(NULL,AV_LOG_ERROR,"\n[%d]: ",i+1); - } -} - -static void dump_int_table(int* table, int size, int delimiter) { - int i=0; - av_log(NULL,AV_LOG_ERROR,"\n[%d]: ",i); - for (i=0 ; i<size ; i++) { - av_log(NULL, AV_LOG_ERROR, "%d, ", table[i]); - if ((i+1)%delimiter == 0) av_log(NULL,AV_LOG_ERROR,"\n[%d]: ",i+1); - } -} - -static void dump_short_table(short* table, int size, int delimiter) { - int i=0; - av_log(NULL,AV_LOG_ERROR,"\n[%d]: ",i); - for (i=0 ; i<size ; i++) { - av_log(NULL, AV_LOG_ERROR, "%d, ", table[i]); - if ((i+1)%delimiter == 0) av_log(NULL,AV_LOG_ERROR,"\n[%d]: ",i+1); - } -} - -#endif - /*************** init functions ***************/ /* table generator */ |