It is an internal swscale symbol and thus should not be exported.
Unified · Split
| @@ -66,9 +66,9 @@ static const AVOption swscale_options[] = { · 65 unmodified lines | |||
| 66 | { NULL } | 66 | { NULL } |
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | const AVClass sws_context_class = { "SWScaler", sws_context_to_name, swscale_options }; | 69 | const AVClass ff_sws_context_class = { "SWScaler", sws_context_to_name, swscale_options }; |
| 70 | 70 | ||
| 71 | const AVClass *sws_get_class(void) | 71 | const AVClass *sws_get_class(void) |
| 72 | { | 72 | { |
| 73 | return &sws_context_class; | 73 | return &ff_sws_context_class; |
| 74 | } | 74 | } |
| @@ -714,7 +714,7 @@ extern const uint8_t ff_dither_8x8_220[8][8]; · 713 unmodified lines | |||
| 714 | 714 | ||
| 715 | extern const int32_t ff_yuv2rgb_coeffs[8][4]; | 715 | extern const int32_t ff_yuv2rgb_coeffs[8][4]; |
| 716 | 716 | ||
| 717 | extern const AVClass sws_context_class; | 717 | extern const AVClass ff_sws_context_class; |
| 718 | 718 | ||
| 719 | /** | 719 | /** |
| 720 | * Set c->swscale to an unscaled converter if one exists for the specific | 720 | * Set c->swscale to an unscaled converter if one exists for the specific |
| @@ -867,7 +867,7 @@ SwsContext *sws_alloc_context(void) · 866 unmodified lines | |||
| 867 | SwsContext *c = av_mallocz(sizeof(SwsContext)); | 867 | SwsContext *c = av_mallocz(sizeof(SwsContext)); |
| 868 | 868 | ||
| 869 | if (c) { | 869 | if (c) { |
| 870 | c->av_class = &sws_context_class; | 870 | c->av_class = &ff_sws_context_class; |
| 871 | av_opt_set_defaults(c); | 871 | av_opt_set_defaults(c); |
| 872 | } | 872 | } |
| 873 | 873 | ||