summaryrefslogtreecommitdiff
path: root/libavcodec/mace.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-17 08:30:06 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-17 08:30:06 +0000
commitf9cac0a778fbbd0c3c3689c4a946a1ecc2afd0c4 (patch)
tree65009693f5bdbdd0ba9eb62f3f22b2931032d436 /libavcodec/mace.c
parentb8db4e22de59b98518d21a4cbcf5fde535d175f8 (diff)
Replace puts() by dprintf where appropriate.
Originally committed as revision 11547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mace.c')
-rw-r--r--libavcodec/mace.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 95839379ac..145cf4a613 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -409,18 +409,14 @@ static int mace_decode_frame(AVCodecContext *avctx,
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);