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
6666 { NULL }
6767 };
6868
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 };
7070
7171 const AVClass *sws_get_class(void)
7272 {
73− return &sws_context_class;
73+ return &ff_sws_context_class;
7474 }
libswscale/swscale_internal.h+1−1
@@ -714,7 +714,7 @@ extern const uint8_t ff_dither_8x8_220[8][8]; · 713 unmodified lines
714714
715715 extern const int32_t ff_yuv2rgb_coeffs[8][4];
716716
717−extern const AVClass sws_context_class;
717+extern const AVClass ff_sws_context_class;
718718
719719 /**
720720 * 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
867867 SwsContext *c = av_mallocz(sizeof(SwsContext));
868868
869869 if (c) {
870− c->av_class = &sws_context_class;
870+ c->av_class = &ff_sws_context_class;
871871 av_opt_set_defaults(c);
872872 }
873873

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