diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-07 16:13:33 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-08 20:10:01 +0200 |
commit | bc368575a935ace7e898dc0149c672035b07a1c0 (patch) | |
tree | 7340fb75c800f7e7852c8b197db28a92c606d01c /libavcodec/ac3enc.c | |
parent | 9a1a82d21c8a6145b9a9428eb6dabd1d28fcb626 (diff) | |
download | ffmpeg-bc368575a935ace7e898dc0149c672035b07a1c0.tar.gz |
avcodec/ac3enc: Deduplicate AVClasses
The child_class_next API relied on different AVCodecs to use
different AVClasses; yet this API has been replaced by
child_class_iterate.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 0036f7d8bc..034aa0beb9 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -125,6 +125,13 @@ const AVOption ff_ac3_enc_options[] = { {NULL} }; +const AVClass ff_ac3enc_class = { + .class_name = "AC-3 Encoder", + .item_name = av_default_item_name, + .option = ff_ac3_enc_options, + .version = LIBAVUTIL_VERSION_INT, +}; + const AVCodecDefault ff_ac3_enc_defaults[] = { { "b", "0" }, { NULL } |