| 85 | #include "aacdec_proc_template.c" |
| 86 | |
| 87 | av_cold int ff_aac_decode_init_fixed(AVCodecContext *avctx) |
| 88 | { |
| 89 | static AVOnce init_fixed_once = AV_ONCE_INIT; |
| 90 | AACDecContext *ac = avctx->priv_data; |
| 91 | |
| 92 | ac->is_fixed = 1; |
| 93 | avctx->sample_fmt = AV_SAMPLE_FMT_S32P; |
| 94 | |
| 95 | aac_dsp_init_fixed(&ac->dsp); |
| 96 | aac_proc_init_fixed(&ac->proc); |
| 97 | |
| 98 | ac->fdsp = avpriv_alloc_fixed_dsp(avctx->flags & AV_CODEC_FLAG_BITEXACT); |
| 99 | if (!ac->fdsp) |
| 100 | return AVERROR(ENOMEM); |
| 101 | |
| 102 | ff_thread_once(&init_fixed_once, init_tables_fixed_fn); |
| 103 | |
| 104 | return ff_aac_decode_init(avctx); |
| 105 | } |
nothing calls this directly
no test coverage detected