diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-29 19:01:10 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-20 18:46:56 -0400 |
commit | aa872af5e3993c63293bbf1e33183117112b8b7a (patch) | |
tree | 78e1df718ac816d7fc9f9a4953df4212667fa47a /libavcodec/ac3enc_float.c | |
parent | ad95307f9251aa8c0e8773727589d3c1986655fc (diff) | |
download | ffmpeg-aa872af5e3993c63293bbf1e33183117112b8b7a.tar.gz |
ac3enc: update to AVCodec.encode2()
Update FATE references due to encoder delay.
Diffstat (limited to 'libavcodec/ac3enc_float.c')
-rw-r--r-- | libavcodec/ac3enc_float.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index 64b360f131..f64019778b 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -27,6 +27,7 @@ */ #define CONFIG_AC3ENC_FLOAT 1 +#include "internal.h" #include "ac3enc.h" #include "eac3enc.h" #include "kbdwin.h" @@ -143,7 +144,7 @@ AVCodec ff_ac3_encoder = { .id = CODEC_ID_AC3, .priv_data_size = sizeof(AC3EncodeContext), .init = ff_ac3_encode_init, - .encode = ff_ac3_float_encode_frame, + .encode2 = 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/52A (AC-3)"), |