@@ -59,7 +59,7 @@ enum CeltBlockSize {
CELT_BLOCK_NB
};
-struct CeltBlock {
+typedef struct CeltBlock {
float energy[CELT_MAX_BANDS];
float lin_energy[CELT_MAX_BANDS];
float error_energy[CELT_MAX_BANDS];
@@ -87,9 +87,9 @@ struct CeltBlock {
float pf_gains_old[3];
float emph_coeff;
-};
+} CeltBlock;
-typedef struct CeltFrame {
+struct CeltFrame {
// constant values that do not change during context lifetime
AVCodecContext *avctx;
MDCT15Context *imdct[4];
@@ -131,7 +131,7 @@ typedef struct CeltFrame {
int tf_change [CELT_MAX_BANDS];
DECLARE_ALIGNED(32, float, scratch)[22 * 8]; // MAX(ff_celt_freq_range) * 1<<CELT_MAX_LOG_BLOCKS
-} CeltFrame;
+} ;
/* LCG for noise generation */
static av_always_inline uint32_t celt_rng(CeltFrame *f)