diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-08-02 09:38:36 -0400 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-08-06 10:17:06 -0400 |
commit | 9441222993e58e1ba71fb12faac31fbfe78bdd3f (patch) | |
tree | 35671794b4635408b3c9c20e64980db6c1da62cd /lib/DllSwResample.h | |
parent | fb1bd7e4c4a723436d7e8e26862d90a0347a4d08 (diff) |
Introduce a libav-hacks library to wrap a compatibility layer with libav.
This copies/pastes some code from FFmpeg but at least allows us to support the fork.
Diffstat (limited to 'lib/DllSwResample.h')
-rw-r--r-- | lib/DllSwResample.h | 6 |
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 |