summaryrefslogtreecommitdiff
path: root/libavcodec/mace.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2003-03-26 16:46:20 +0000
committerFrançois Revol <revol@free.fr>2003-03-26 16:46:20 +0000
commit62790b991749cb3babe33e52309ae104b0012ca0 (patch)
tree1c9920e49c2e01217e62de8e722df0efd102bb60 /libavcodec/mace.c
parent8e0a3db735eedf3b29181a025f33050358b6796e (diff)
debug stuff only for DEBUG :)
Originally committed as revision 1708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mace.c')
-rw-r--r--libavcodec/mace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 91a37452b9..1beac6c40d 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -403,14 +403,18 @@ 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
Exp1to3(c, buf, samples, buf_size / 2, avctx->channels, 1);
if (avctx->channels == 2)
Exp1to3(c, buf, samples+1, buf_size / 2, 2, 2);
*data_size = 2 * 3 * buf_size;
break;
case CODEC_ID_MACE6:
+#ifdef DEBUG
puts("mace_decode_frame[6]()");
+#endif
Exp1to6(c, buf, samples, buf_size, avctx->channels, 1);
if (avctx->channels == 2)
Exp1to6(c, buf, samples+1, buf_size, 2, 2);