aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/options.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-22 02:34:34 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-22 02:34:34 +0000
commit81416c2f64415cfa47a21c13f8142b73094a2887 (patch)
treef972af49c4788bb37407e8ae8cabce2e1b25e930 /libswscale/options.c
parent2fa5d8f234a0986de4765df887a52b22d40eeee6 (diff)
downloadffmpeg-81416c2f64415cfa47a21c13f8142b73094a2887.tar.gz
swscale: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libswscale/options.c')
-rw-r--r--libswscale/options.c6
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)
{