diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-22 06:34:34 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-22 06:34:34 +0400 |
commit | 81416c2f64415cfa47a21c13f8142b73094a2887 (patch) | |
tree | f972af49c4788bb37407e8ae8cabce2e1b25e930 /libswscale | |
parent | 2fa5d8f234a0986de4765df887a52b22d40eeee6 (diff) |
swscale: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libswscale/options.c b/libswscale/options.c index ade9888d35..a396a58f40 100644 --- a/libswscale/options.c +++ b/libswscale/options.c @@ -66,7 +66,11 @@ static const AVOption options[] = { { NULL } }; -const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }; +const AVClass sws_context_class = { + .class_name = "SWScaler", + .item_name = sws_context_to_name, + .option = options, +}; const AVClass *sws_get_class(void) { |