History

swscale: Rename sws_context_class to ff_sws_context_class

It is an internal swscale symbol and thus should not be exported.

Andreas Cadhalpun committed 11 years ago

Commit c0fd2fb1 parent 71a04723 files · +4 −4Browse files

Unified · Split

3 files
  1. libswscale/options.c +2 −2
  2. libswscale/swscale_internal.h +1 −1
  3. libswscale/utils.c +1 −1
libswscale/options.c+2−2
@@ -66,9 +66,9 @@ static const AVOption swscale_options[] = { · 65 unmodified lines
66 { NULL }66 { NULL }
67};67};
68 68
69const AVClass sws_context_class = { "SWScaler", sws_context_to_name, swscale_options };69const AVClass ff_sws_context_class = { "SWScaler", sws_context_to_name, swscale_options };
70 70
71const AVClass *sws_get_class(void)71const AVClass *sws_get_class(void)
72{72{
73 return &sws_context_class;73 return &ff_sws_context_class;
74}74}
libswscale/swscale_internal.h+1−1
@@ -714,7 +714,7 @@ extern const uint8_t ff_dither_8x8_220[8][8]; · 713 unmodified lines
714 714
715extern const int32_t ff_yuv2rgb_coeffs[8][4];715extern const int32_t ff_yuv2rgb_coeffs[8][4];
716 716
717extern const AVClass sws_context_class;717extern const AVClass ff_sws_context_class;
718 718
719/**719/**
720 * Set c->swscale to an unscaled converter if one exists for the specific720 * Set c->swscale to an unscaled converter if one exists for the specific
libswscale/utils.c+1−1
@@ -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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t