aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wma.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@mediaxim.be>2007-03-12 12:36:41 +0000
committerMichel Bardiaux <mbardiaux@mediaxim.be>2007-03-12 12:36:41 +0000
commit318c5e052415aada4036c382cb0ef243113f667a (patch)
tree1badf5b9254d9b8807759f59bd6121f9ce180b3b /libavcodec/wma.c
parentea486ab3bede4fc68b8cccb70791cdfa589a0fcb (diff)
downloadffmpeg-318c5e052415aada4036c382cb0ef243113f667a.tar.gz
Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wma.c')
-rw-r--r--libavcodec/wma.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/wma.c b/libavcodec/wma.c
index 27a84ea896..76f04def74 100644
--- a/libavcodec/wma.c
+++ b/libavcodec/wma.c
@@ -171,13 +171,13 @@ int ff_wma_init(AVCodecContext * avctx, int flags2)
high_freq = high_freq * 0.5;
}
}
- dprintf("flags2=0x%x\n", flags2);
- dprintf("version=%d channels=%d sample_rate=%d bitrate=%d block_align=%d\n",
+ dprintf(s->avctx, "flags2=0x%x\n", flags2);
+ dprintf(s->avctx, "version=%d channels=%d sample_rate=%d bitrate=%d block_align=%d\n",
s->version, s->nb_channels, s->sample_rate, s->bit_rate,
s->block_align);
- dprintf("bps=%f bps1=%f high_freq=%f bitoffset=%d\n",
+ dprintf(s->avctx, "bps=%f bps1=%f high_freq=%f bitoffset=%d\n",
bps, bps1, high_freq, s->byte_offset_bits);
- dprintf("use_noise_coding=%d use_exp_vlc=%d nb_block_sizes=%d\n",
+ dprintf(s->avctx, "use_noise_coding=%d use_exp_vlc=%d nb_block_sizes=%d\n",
s->use_noise_coding, s->use_exp_vlc, s->nb_block_sizes);
/* compute the scale factor band sizes for each MDCT block size */