X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fac3enc_fixed.c;h=758dde3382b52e1507a9cdce33f38941826b4ab8;hb=967facb6950549d0cc4e0ba79a056ebc6f93a049;hp=24612c0949e899f74fb81a6bb185b546d4fab386;hpb=479fb7b8afcf0711b93b48c7d634e9f464d8b336;p=ffmpeg diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c index 24612c0949e..758dde3382b 100644 --- a/libavcodec/ac3enc_fixed.c +++ b/libavcodec/ac3enc_fixed.c @@ -28,6 +28,7 @@ #define CONFIG_FFT_FLOAT 0 #undef CONFIG_AC3ENC_FLOAT +#include "internal.h" #include "ac3enc.h" #include "eac3enc.h" @@ -151,7 +152,7 @@ AVCodec ff_ac3_fixed_encoder = { .id = CODEC_ID_AC3, .priv_data_size = sizeof(AC3EncodeContext), .init = ac3_fixed_encode_init, - .encode = ff_ac3_fixed_encode_frame, + .encode2 = ff_ac3_fixed_encode_frame, .close = ff_ac3_encode_close, .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),