aboutsummaryrefslogtreecommitdiff
path: root/lib/DllSwResample.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DllSwResample.h')
-rw-r--r--lib/DllSwResample.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/DllSwResample.h b/lib/DllSwResample.h
index 686aec6411..1981d512af 100644
--- a/lib/DllSwResample.h
+++ b/lib/DllSwResample.h
@@ -37,7 +37,11 @@ extern "C" {
#pragma warning(disable:4244)
#endif
#if (defined USE_EXTERNAL_FFMPEG)
- #include <libswresample/swresample.h>
+ #if (defined USE_LIBAV_HACKS)
+ #include "xbmc-libav-hacks/libav_hacks.h"
+ #else
+ #include <libswresample/swresample.h>
+ #endif
#else
#include "libswresample/swresample.h"
#endif