diff options
author | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-27 09:39:04 +0000 |
---|---|---|
committer | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-27 09:39:04 +0000 |
commit | a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af (patch) | |
tree | bcdd4339c89f27f9d948a299c11234cd37dd29f1 /libavcodec/wma.c | |
parent | 01ca9ac3346ced92d6cb4d9fe06233a305424510 (diff) | |
download | ffmpeg-a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af.tar.gz |
Supply context to tprintf
Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wma.c')
-rw-r--r-- | libavcodec/wma.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/wma.c b/libavcodec/wma.c index 87b95ea5a9..0c9051c99b 100644 --- a/libavcodec/wma.c +++ b/libavcodec/wma.c @@ -268,14 +268,14 @@ int ff_wma_init(AVCodecContext * avctx, int flags2) } s->exponent_high_sizes[k] = j; #if 0 - tprintf("%5d: coefs_end=%d high_band_start=%d nb_high_bands=%d: ", + tprintf(s->avctx, "%5d: coefs_end=%d high_band_start=%d nb_high_bands=%d: ", s->frame_len >> k, s->coefs_end[k], s->high_band_start[k], s->exponent_high_sizes[k]); for(j=0;j<s->exponent_high_sizes[k];j++) - tprintf(" %d", s->exponent_high_bands[k][j]); - tprintf("\n"); + tprintf(s->avctx, " %d", s->exponent_high_bands[k][j]); + tprintf(s->avctx, "\n"); #endif } } @@ -284,12 +284,12 @@ int ff_wma_init(AVCodecContext * avctx, int flags2) { int i, j; for(i = 0; i < s->nb_block_sizes; i++) { - tprintf("%5d: n=%2d:", + tprintf(s->avctx, "%5d: n=%2d:", s->frame_len >> i, s->exponent_sizes[i]); for(j=0;j<s->exponent_sizes[i];j++) - tprintf(" %d", s->exponent_bands[i][j]); - tprintf("\n"); + tprintf(s->avctx, " %d", s->exponent_bands[i][j]); + tprintf(s->avctx, "\n"); } } #endif |