]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/eac3enc.c
avcodec/cabac_functions, x86/cabac: Include stddef.h
[ffmpeg] / libavcodec / eac3enc.c
index e1d61f68bffb2ec635f4bb70e8e137e2214b4e82..585588a48015ab46ed1d08eab67cb47074006193 100644 (file)
@@ -24,7 +24,7 @@
  * E-AC-3 encoder
  */
 
-#define CONFIG_AC3ENC_FLOAT 1
+#define AC3ENC_FLOAT 1
 
 #include "libavutil/attributes.h"
 #include "ac3enc.h"
@@ -263,6 +263,8 @@ AVCodec ff_eac3_encoder = {
     .sample_fmts     = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP,
                                                       AV_SAMPLE_FMT_NONE },
     .priv_class      = &eac3enc_class,
+    .supported_samplerates = ff_ac3_sample_rate_tab,
     .channel_layouts = ff_ac3_channel_layouts,
     .defaults        = ac3_defaults,
+    .caps_internal   = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };