ac3enc: remove empty ac3_float function that is never called

This commit is contained in:
Justin Ruggles 2011-06-10 15:17:55 -04:00
parent e0cc66df61
commit 38c304addd
3 changed files with 0 additions and 12 deletions

View File

@ -2363,7 +2363,6 @@ av_cold int ff_ac3_encode_init(AVCodecContext *avctx)
s->mdct_end = ff_ac3_float_mdct_end;
s->mdct_init = ff_ac3_float_mdct_init;
s->apply_window = ff_ac3_float_apply_window;
s->normalize_samples = ff_ac3_float_normalize_samples;
s->scale_coefficients = ff_ac3_float_scale_coefficients;
s->deinterleave_input_samples = ff_ac3_float_deinterleave_input_samples;
s->apply_mdct = ff_ac3_float_apply_mdct;

View File

@ -269,7 +269,6 @@ void ff_ac3_float_apply_window(DSPContext *dsp, SampleType *output,
const SampleType *window, unsigned int len);
int ff_ac3_fixed_normalize_samples(AC3EncodeContext *s);
int ff_ac3_float_normalize_samples(AC3EncodeContext *s);
void ff_ac3_fixed_scale_coefficients(AC3EncodeContext *s);
void ff_ac3_float_scale_coefficients(AC3EncodeContext *s);

View File

@ -90,16 +90,6 @@ void ff_ac3_float_apply_window(DSPContext *dsp, float *output,
}
/**
* Normalize the input samples to use the maximum available precision.
*/
int ff_ac3_float_normalize_samples(AC3EncodeContext *s)
{
/* Normalization is not needed for floating-point samples, so just return 0 */
return 0;
}
/**
* Scale MDCT coefficients from float to 24-bit fixed-point.
*/