1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

j2k: avoid printf() useage in debug code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-05 19:27:46 +01:00
parent b023392f34
commit 9bb188da96

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