|
|
@ -42,7 +42,6 @@ |
|
|
|
#include "avcodec.h" |
|
|
|
#include "avcodec.h" |
|
|
|
#include "bytestream.h" |
|
|
|
#include "bytestream.h" |
|
|
|
#include "fft.h" |
|
|
|
#include "fft.h" |
|
|
|
#include "fmtconvert.h" |
|
|
|
|
|
|
|
#include "get_bits.h" |
|
|
|
#include "get_bits.h" |
|
|
|
#include "internal.h" |
|
|
|
#include "internal.h" |
|
|
|
|
|
|
|
|
|
|
@ -108,7 +107,6 @@ typedef struct ATRAC3Context { |
|
|
|
|
|
|
|
|
|
|
|
AtracGCContext gainc_ctx; |
|
|
|
AtracGCContext gainc_ctx; |
|
|
|
FFTContext mdct_ctx; |
|
|
|
FFTContext mdct_ctx; |
|
|
|
FmtConvertContext fmt_conv; |
|
|
|
|
|
|
|
AVFloatDSPContext *fdsp; |
|
|
|
AVFloatDSPContext *fdsp; |
|
|
|
} ATRAC3Context; |
|
|
|
} ATRAC3Context; |
|
|
|
|
|
|
|
|
|
|
@ -917,7 +915,6 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx) |
|
|
|
|
|
|
|
|
|
|
|
ff_atrac_init_gain_compensation(&q->gainc_ctx, 4, 3); |
|
|
|
ff_atrac_init_gain_compensation(&q->gainc_ctx, 4, 3); |
|
|
|
q->fdsp = avpriv_float_dsp_alloc(avctx->flags & CODEC_FLAG_BITEXACT); |
|
|
|
q->fdsp = avpriv_float_dsp_alloc(avctx->flags & CODEC_FLAG_BITEXACT); |
|
|
|
ff_fmt_convert_init(&q->fmt_conv, avctx); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
q->units = av_mallocz_array(avctx->channels, sizeof(*q->units)); |
|
|
|
q->units = av_mallocz_array(avctx->channels, sizeof(*q->units)); |
|
|
|
if (!q->units || !q->fdsp) { |
|
|
|
if (!q->units || !q->fdsp) { |
|
|
|