1 --- xbmc-16.0-Jarvis.orig/xbmc/cores/FFmpeg.h 2016-02-20 16:21:19.000000000 +0100
2 +++ xbmc-16.0-Jarvis/xbmc/cores/FFmpeg.h 2016-03-19 18:38:18.594026700 +0100
4 #include "utils/CPUInfo.h"
7 -#include "libswscale/swscale.h"
8 #include "libavcodec/avcodec.h"
9 #include "libavformat/avformat.h"
10 #include "libavutil/avutil.h"
11 @@ -33,23 +32,6 @@ extern "C" {
12 #include "libpostproc/postprocess.h"
15 -inline int SwScaleCPUFlags()
17 - unsigned int cpuFeatures = g_cpuInfo.GetCPUFeatures();
20 - if (cpuFeatures & CPU_FEATURE_MMX)
21 - flags |= SWS_CPU_CAPS_MMX;
22 - if (cpuFeatures & CPU_FEATURE_MMX2)
23 - flags |= SWS_CPU_CAPS_MMX2;
24 - if (cpuFeatures & CPU_FEATURE_3DNOW)
25 - flags |= SWS_CPU_CAPS_3DNOW;
26 - if (cpuFeatures & CPU_FEATURE_ALTIVEC)
27 - flags |= SWS_CPU_CAPS_ALTIVEC;
32 inline int PPCPUFlags()
34 unsigned int cpuFeatures = g_cpuInfo.GetCPUFeatures();