diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 19:29:00 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 19:31:27 +0100 |
commit | 7c2481f2d73a68e18d3de2b2a3848318d4d4c521 (patch) | |
tree | 2a6dbb856e5f4ad391cd29883423a0c796e535de | |
parent | 9bb188da962edc7445fcce6c0fd173fb392e87d5 (diff) | |
download | ffmpeg-7c2481f2d73a68e18d3de2b2a3848318d4d4c521.tar.gz |
j2kenc: remove duplicate debug functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/j2kenc.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index c1a4981230..5d447eded9 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -94,27 +94,11 @@ static void nspaces(FILE *fd, int n) while(n--) putc(' ', fd); } -static void printv(int *tab, int l) -{ - int i; - for (i = 0; i < l; i++) - printf("%.3d ", tab[i]); - printf("\n"); -} - -static void printu(uint8_t *tab, int l) -{ - int i; - for (i = 0; i < l; i++) - printf("%.3hd ", tab[i]); - printf("\n"); -} - static void printcomp(J2kComponent *comp) { int i; for (i = 0; i < comp->y1 - comp->y0; i++) - printv(comp->data + i * (comp->x1 - comp->x0), comp->x1 - comp->x0); + ff_j2k_printv(comp->data + i * (comp->x1 - comp->x0), comp->x1 - comp->x0); } static void dump(J2kEncoderContext *s, FILE *fd) |