mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
swscale: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
2fa5d8f234
commit
81416c2f64
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue