]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3enc_opts_template.c
alac: fix check for valid max_samples_per_frame
[ffmpeg] / libavcodec / ac3enc_opts_template.c
index a5f848e2001aaa7316c0fae708c8c93d09973d0f..fa8984476e6884708b373eeca2977801bd64d9bf 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "libavutil/opt.h"
+#include "internal.h"
 #include "ac3.h"
 
 #if AC3ENC_TYPE == AC3ENC_TYPE_AC3_FIXED
@@ -78,3 +79,8 @@ static const AVOption eac3_options[] = {
     {"auto", "Selected by the Encoder", 0, AV_OPT_TYPE_CONST, {.dbl = AC3ENC_OPT_AUTO }, INT_MIN, INT_MAX, AC3ENC_PARAM, "cpl_start_band"},
 {NULL}
 };
+
+static const AVCodecDefault ac3_defaults[] = {
+    { "b",  "0" },
+    { NULL }
+};