diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-26 23:58:19 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-27 12:59:39 -0400 |
commit | 8683c6a638f2e323d11b520c5e130b46b1eb1eda (patch) | |
tree | fa28e7001bd355e58abd2bbbe3af8b43530a0758 /libavcodec/eac3enc.c | |
parent | 668afae438ec8502517abb1c001b984c649e5e95 (diff) | |
download | ffmpeg-8683c6a638f2e323d11b520c5e130b46b1eb1eda.tar.gz |
ac3enc: move ff_ac3_encode_frame() to ac3enc_template.c
This avoids using function pointers for quite a few small functions, most of
which just call DSP functions.
Diffstat (limited to 'libavcodec/eac3enc.c')
-rw-r--r-- | libavcodec/eac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c index d37acaf20b..f39b9f1925 100644 --- a/libavcodec/eac3enc.c +++ b/libavcodec/eac3enc.c @@ -145,7 +145,7 @@ AVCodec ff_eac3_encoder = { .id = CODEC_ID_EAC3, .priv_data_size = sizeof(AC3EncodeContext), .init = ff_ac3_encode_init, - .encode = ff_ac3_encode_frame, + .encode = ff_ac3_float_encode_frame, .close = ff_ac3_encode_close, .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 E-AC-3"), |