diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-29 20:13:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-29 20:13:59 +0200 |
commit | 828759ed9afab3d4a046c87cb060305062e81de7 (patch) | |
tree | d234a4ed4e0140e40cc23778e2282b5db4ba9a27 | |
parent | 14e9a20083c9c17c9431754bf13e458293c1ead4 (diff) | |
download | ffmpeg-828759ed9afab3d4a046c87cb060305062e81de7.tar.gz |
avcodec/cook: Remove unneeded #if
The code is already doing nothing if DEBUG is disabled
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/cook.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 1d2020b6d9..75b184a94f 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1016,7 +1016,6 @@ static int cook_decode_frame(AVCodecContext *avctx, void *data, return avctx->block_align; } -#ifdef DEBUG static void dump_cook_context(COOKContext *q) { //int i=0; @@ -1038,7 +1037,6 @@ static void dump_cook_context(COOKContext *q) PRINT("numvector_size", q->subpacket[0].numvector_size); PRINT("total_subbands", q->subpacket[0].total_subbands); } -#endif /** * Cook initialization @@ -1269,9 +1267,9 @@ 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 DEBUG + dump_cook_context(q); -#endif + return 0; } |