]> git.pld-linux.org Git - packages/freerdp2.git/blob - freerdp-sse.patch
- fix building with ffmpeg 4.0
[packages/freerdp2.git] / freerdp-sse.patch
1 --- FreeRDP-06d47530b6501ce09f649814f5023c3dd88ce5a0/libfreerdp/codec/nsc_sse2.c.orig   2016-11-18 12:46:14.000000000 +0100
2 +++ FreeRDP-06d47530b6501ce09f649814f5023c3dd88ce5a0/libfreerdp/codec/nsc_sse2.c        2016-12-03 09:01:03.673102526 +0100
3 @@ -30,6 +30,7 @@
4  
5  #include <freerdp/codec/color.h>
6  #include <winpr/crt.h>
7 +#include <winpr/sysinfo.h>
8  
9  #include "nsc_types.h"
10  #include "nsc_sse2.h"
11 @@ -400,6 +401,9 @@
12  
13  void nsc_init_sse2(NSC_CONTEXT* context)
14  {
15 +       if (IsProcessorFeaturePresent(PF_SSE2_INSTRUCTIONS_AVAILABLE))
16 +       {
17         IF_PROFILER(context->priv->prof_nsc_encode->name = "nsc_encode_sse2");
18         context->encode = nsc_encode_sse2;
19 +       }
20  }
This page took 0.074768 seconds and 3 git commands to generate.