From aa872af5e3993c63293bbf1e33183117112b8b7a Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 29 Jan 2012 19:01:10 -0500 Subject: ac3enc: update to AVCodec.encode2() Update FATE references due to encoder delay. --- libavcodec/ac3enc_float.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/ac3enc_float.c') 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)"), -- cgit v1.2.3