Browse Source

j2k: avoid printf() useage in debug code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
9bb188da96
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavcodec/j2k.c

+ 4
- 4
libavcodec/j2k.c View File

@@ -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



Loading…
Cancel
Save