Commit 81416c2f authored by Paul B Mahol's avatar Paul B Mahol

swscale: use designated initializers for AVClass

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 2fa5d8f2
...@@ -66,7 +66,11 @@ static const AVOption options[] = { ...@@ -66,7 +66,11 @@ static const AVOption options[] = {
{ NULL } { 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) const AVClass *sws_get_class(void)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment