diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 19:27:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 19:31:27 +0100 |
commit | 9bb188da962edc7445fcce6c0fd173fb392e87d5 (patch) | |
tree | 9ecdb3460c5f22f6bd8fe94947f8dcfa39dbf6e7 /libavcodec/j2k.c | |
parent | b023392f348e713a4a938f8fda8507e20458cec9 (diff) | |
download | ffmpeg-streaming-9bb188da962edc7445fcce6c0fd173fb392e87d5.zip ffmpeg-streaming-9bb188da962edc7445fcce6c0fd173fb392e87d5.tar.gz |
j2k: avoid printf() useage in debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/j2k.c')
-rw-r--r-- | libavcodec/j2k.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/j2k.c b/libavcodec/j2k.c index f5b40b1..e3c0c13 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 |