diff options
author | Jun Zhao <barryjzhao@tencent.com> | 2020-05-31 16:12:36 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2020-06-14 12:26:51 +0800 |
commit | ab9ff762c1ead3cab1950a458e845b0b0267f38d (patch) | |
tree | 03725bc5c006f32fa65f51cf1c77f227a348b375 /libavcodec/qsv_internal.h | |
parent | 416dc133b953ab2dd78297f6272f1062b0586b57 (diff) |
lavc/qsv: fix make checkheaders warning
make checkheaders will get warning as follow:
In file included from libavcodec/qsv_internal.h.c:1:
./libavcodec/qsv_internal.h:24:5: warning: "CONFIG_VAAPI" is not defined, evaluates to 0 [-Wundef]
24 | #if CONFIG_VAAPI
| ^~~~~~~~~~~~
include "config.h" to fix the warning
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r-- | libavcodec/qsv_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h index 6489836a67..6b2fbbe252 100644 --- a/libavcodec/qsv_internal.h +++ b/libavcodec/qsv_internal.h @@ -21,6 +21,8 @@ #ifndef AVCODEC_QSV_INTERNAL_H #define AVCODEC_QSV_INTERNAL_H +#include "config.h" + #if CONFIG_VAAPI #define AVCODEC_QSV_LINUX_SESSION_HANDLE #endif //CONFIG_VAAPI |