diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-22 23:32:42 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-23 00:30:37 +0000 |
commit | e9d5c0520ff5093b535b6fa48d6eba41a18c0838 (patch) | |
tree | d3860257004e51e6d603440c919ccd3deacbf5d5 /libavcodec/eac3enc.c | |
parent | 53cec46b255d8587539516f7a013b56a25c7c6d7 (diff) | |
download | ffmpeg-e9d5c0520ff5093b535b6fa48d6eba41a18c0838.tar.gz |
lavc: use designated initializers for AVClasses
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/eac3enc.c')
-rw-r--r-- | libavcodec/eac3enc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c index 409d581eda..9f4a6a78f0 100644 --- a/libavcodec/eac3enc.c +++ b/libavcodec/eac3enc.c @@ -32,9 +32,13 @@ #define AC3ENC_TYPE AC3ENC_TYPE_EAC3 #include "ac3enc_opts_template.c" -static const AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name, - eac3_options, LIBAVUTIL_VERSION_INT }; +static const AVClass eac3enc_class = { + .class_name = "E-AC-3 Encoder", + .item_name = av_default_item_name, + .option = eac3_options, + .version = LIBAVUTIL_VERSION_INT, +}; /** * LUT for finding a matching frame exponent strategy index from a set of |