aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/j2k.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-05 19:27:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-05 19:31:27 +0100
commit9bb188da962edc7445fcce6c0fd173fb392e87d5 (patch)
tree9ecdb3460c5f22f6bd8fe94947f8dcfa39dbf6e7 /libavcodec/j2k.c
parentb023392f348e713a4a938f8fda8507e20458cec9 (diff)
downloadffmpeg-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.c8
1 files 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