summaryrefslogtreecommitdiff
path: root/libavcodec/eac3enc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-06-11 05:32:01 -0700
committerDiego Biurrun <diego@biurrun.de>2014-06-13 05:21:34 -0700
commit27631796c9d1b8146ad4a16e6539ecc08afa7565 (patch)
treeeeca9c7373dad7e0e23420ff4f1dd7529a5e7140 /libavcodec/eac3enc.c
parentf0ce9913d0974ac0c7371a62c3324dd2863b5d1b (diff)
downloadffmpeg-27631796c9d1b8146ad4a16e6539ecc08afa7565.tar.gz
ac3: Only initialize float_dsp for the float encoder variant
Diffstat (limited to 'libavcodec/eac3enc.c')
-rw-r--r--libavcodec/eac3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c
index 18e9f738f5..3aa2d54013 100644
--- a/libavcodec/eac3enc.c
+++ b/libavcodec/eac3enc.c
@@ -253,7 +253,7 @@ AVCodec ff_eac3_encoder = {
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_EAC3,
.priv_data_size = sizeof(AC3EncodeContext),
- .init = ff_ac3_encode_init,
+ .init = ff_ac3_float_encode_init,
.encode2 = ff_ac3_float_encode_frame,
.close = ff_ac3_encode_close,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP,