Browse Source

swscale: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n1.0
Paul B Mahol 13 years ago
parent
commit
81416c2f64
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      libswscale/options.c

+ 5
- 1
libswscale/options.c View File

@@ -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…
Cancel
Save