From 9bb188da962edc7445fcce6c0fd173fb392e87d5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 5 Dec 2012 19:27:46 +0100 Subject: [PATCH] j2k: avoid printf() useage in debug code Signed-off-by: Michael Niedermayer --- libavcodec/j2k.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/j2k.c b/libavcodec/j2k.c index f5b40b1b32..e3c0c1359d 100644 --- a/libavcodec/j2k.c +++ b/libavcodec/j2k.c @@ -36,16 +36,16 @@ void ff_j2k_printv(int *tab, int l) { int i; for (i = 0; i < l; i++) - printf("%.3d ", tab[i]); - printf("\n"); + av_log(NULL, AV_LOG_DEBUG, "%.3d ", tab[i]); + av_log(NULL, AV_LOG_DEBUG, "\n"); } void ff_j2k_printu(uint8_t *tab, int l) { int i; for (i = 0; i < l; i++) - printf("%.3hd ", tab[i]); - printf("\n"); + av_log(NULL, AV_LOG_DEBUG, "%.3hd ", tab[i]); + av_log(NULL, AV_LOG_DEBUG, "\n"); } #endif