swscale: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
2fa5d8f234
commit
81416c2f64
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user