summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-02 22:45:15 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-03 00:44:06 +0200
commitf190f676bc93a7e80344f2feeb3b9b44604d4717 (patch)
treed450a39677cd2e45abdea10256675ac7267cce92 /libavcodec/cook.c
parent068aa387128850da488af262d54986d03eebe423 (diff)
Replace custom DEBUG preprocessor trickery by the standard one.
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r--libavcodec/cook.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index e6e2508c84..84211a6d08 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -66,7 +66,6 @@
#define SUBBAND_SIZE 20
#define MAX_SUBPACKETS 5
-//#define COOKDEBUG
typedef struct {
int *now;
@@ -1005,7 +1004,7 @@ static int cook_decode_frame(AVCodecContext *avctx,
return avctx->block_align;
}
-#ifdef COOKDEBUG
+#ifdef DEBUG
static void dump_cook_context(COOKContext *q)
{
//int i=0;
@@ -1247,7 +1246,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
else
avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
-#ifdef COOKDEBUG
+#ifdef DEBUG
dump_cook_context(q);
#endif
return 0;