aboutsummaryrefslogtreecommitdiff
path: root/lib/DllSwScale.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DllSwScale.h')
-rw-r--r--lib/DllSwScale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DllSwScale.h b/lib/DllSwScale.h
index 36bb616809..97e3b400ed 100644
--- a/lib/DllSwScale.h
+++ b/lib/DllSwScale.h
@@ -87,7 +87,7 @@ public:
virtual void sws_freeContext(struct SwsContext *context)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
// We call into this library directly.
class DllSwScale : public DllDynamic, public DllSwScaleInterface
@@ -111,7 +111,7 @@ public:
// DLL faking.
virtual bool ResolveExports() { return true; }
virtual bool Load() {
-#if !defined(TARGET_DARWIN)
+#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
CLog::Log(LOGDEBUG, "DllSwScale: Using libswscale system library");
#endif
return true;