Mercurial > libavcodec.hg
changeset 6153:a935fe8071ae libavcodec
Replace puts() by dprintf where appropriate.
author | diego |
---|---|
date | Thu, 17 Jan 2008 08:30:06 +0000 |
parents | 448466ff832a |
children | 10e8a0596311 |
files | mace.c |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mace.c Thu Jan 17 00:12:04 2008 +0000 +++ b/mace.c Thu Jan 17 08:30:06 2008 +0000 @@ -409,18 +409,14 @@ samples = (short *)data; switch (avctx->codec->id) { case CODEC_ID_MACE3: -#ifdef DEBUG -puts("mace_decode_frame[3]()"); -#endif + dprintf(avctx, "mace_decode_frame[3]()"); Exp1to3(c, buf, samples, buf_size / 2 / avctx->channels, avctx->channels, 1); if (avctx->channels == 2) Exp1to3(c, buf, samples+1, buf_size / 2 / 2, 2, 2); *data_size = 2 * 3 * buf_size; break; case CODEC_ID_MACE6: -#ifdef DEBUG -puts("mace_decode_frame[6]()"); -#endif + dprintf(avctx, "mace_decode_frame[6]()"); Exp1to6(c, buf, samples, buf_size / avctx->channels, avctx->channels, 1); if (avctx->channels == 2) Exp1to6(c, buf, samples+1, buf_size / 2, 2, 2);