Commit 9bb188da authored by Michael Niedermayer's avatar Michael Niedermayer

j2k: avoid printf() useage in debug code

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b023392f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment