]> git.sesse.net Git - ffmpeg/commit
avcodec/ac3enc: Share options and defaults
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 3 Dec 2020 04:32:18 +0000 (05:32 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 7 Feb 2021 09:30:14 +0000 (10:30 +0100)
commit134193a2ff1885880d1d597d8c1316d4b47e3af6
tree9b6ffb67cdd1e2edfa0f07fca98ce43802309084
parentbdd55e1dd835f71bb78244d6146ec45d6158b2ec
avcodec/ac3enc: Share options and defaults

Both AC-3 encoder share the same options, yet they are nevertheless
duplicated in the binary; and the options applying to the EAC-3 encoder
are a proper subset of the options for the AC-3 encoders, so that it can
use the same options as the former by putting the options specific to
AC-3 at the front. This commit implements this.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/ac3enc.c
libavcodec/ac3enc.h
libavcodec/ac3enc_fixed.c
libavcodec/ac3enc_float.c
libavcodec/ac3enc_opts_template.c [deleted file]
libavcodec/eac3enc.c