summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-10-27 22:56:53 +0100
committerDiego Biurrun <diego@biurrun.de>2016-07-16 17:38:37 +0200
commitc0fd2fb27bebd1d5ab028e6df6bca9119d269122 (patch)
tree8fa0627c8470caa7ae992fa2a3095de78b213d46 /libswscale
parent71a0472114574993df7035f4de9aa007e03817b8 (diff)
downloadffmpeg-c0fd2fb27bebd1d5ab028e6df6bca9119d269122.tar.gz
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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/options.c4
-rw-r--r--libswscale/swscale_internal.h2
-rw-r--r--libswscale/utils.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/libswscale/options.c b/libswscale/options.c
index e7765d6ba9..2371b67ade 100644
--- a/libswscale/options.c
+++ b/libswscale/options.c
@@ -66,9 +66,9 @@ static const AVOption swscale_options[] = {
{ 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)
{
- return &sws_context_class;
+ return &ff_sws_context_class;
}
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 26b94306ed..a72ac0bd0b 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -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 AVClass sws_context_class;
+extern const AVClass ff_sws_context_class;
/**
* Set c->swscale to an unscaled converter if one exists for the specific
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 129643a526..d549348e35 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -867,7 +867,7 @@ SwsContext *sws_alloc_context(void)
SwsContext *c = av_mallocz(sizeof(SwsContext));
if (c) {
- c->av_class = &sws_context_class;
+ c->av_class = &ff_sws_context_class;
av_opt_set_defaults(c);
}