Commit c0fd2fb2 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun Committed by Diego Biurrun

swscale: Rename sws_context_class to ff_sws_context_class

It is an internal swscale symbol and thus should not be exported.
Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent 71a04721
...@@ -66,9 +66,9 @@ static const AVOption swscale_options[] = { ...@@ -66,9 +66,9 @@ static const AVOption swscale_options[] = {
{ NULL } { NULL }
}; };
const AVClass sws_context_class = { "SWScaler", sws_context_to_name, swscale_options }; const AVClass ff_sws_context_class = { "SWScaler", sws_context_to_name, swscale_options };
const AVClass *sws_get_class(void) const AVClass *sws_get_class(void)
{ {
return &sws_context_class; return &ff_sws_context_class;
} }
...@@ -714,7 +714,7 @@ extern const uint8_t ff_dither_8x8_220[8][8]; ...@@ -714,7 +714,7 @@ extern const uint8_t ff_dither_8x8_220[8][8];
extern const int32_t ff_yuv2rgb_coeffs[8][4]; extern const int32_t ff_yuv2rgb_coeffs[8][4];
extern const AVClass sws_context_class; extern const AVClass ff_sws_context_class;
/** /**
* Set c->swscale to an unscaled converter if one exists for the specific * Set c->swscale to an unscaled converter if one exists for the specific
......
...@@ -867,7 +867,7 @@ SwsContext *sws_alloc_context(void) ...@@ -867,7 +867,7 @@ SwsContext *sws_alloc_context(void)
SwsContext *c = av_mallocz(sizeof(SwsContext)); SwsContext *c = av_mallocz(sizeof(SwsContext));
if (c) { if (c) {
c->av_class = &sws_context_class; c->av_class = &ff_sws_context_class;
av_opt_set_defaults(c); av_opt_set_defaults(c);
} }
......
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