mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avcodec/cook: Remove unneeded #if
The code is already doing nothing if DEBUG is disabled Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
14e9a20083
commit
828759ed9a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user