Skip to content

Commit

Permalink
sfcsample: don't include X11 headers
Browse files Browse the repository at this point in the history
X11 is never used, so don't include the headers.

Fixes #150

Signed-off-by: kanghuaz <kanghua.zhu@intel.com>
  • Loading branch information
kanghuaz authored and uartie committed May 13, 2019
1 parent a236e34 commit 7be46f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion vendor/intel/sfcsample/VDecAccelVA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#include "VDecAccelVA.h"
#include <va/va.h>
#include <va/va_drm.h>
#include <va/va_x11.h>

#define VASUCCEEDED(err) (err == VA_STATUS_SUCCESS)
#define VAFAILED(err) (err != VA_STATUS_SUCCESS)
Expand Down
3 changes: 0 additions & 3 deletions vendor/intel/sfcsample/VDecAccelVA.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
#include <va/va.h>
#include "DecodeParamBuffer.h"

#include <X11/Xlib.h>
typedef Display* HDISP;

namespace mvaccel
{
/**
Expand Down

0 comments on commit 7be46f0

Please sign in to comment.