]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: fix make checkheaders fail
authorJun Zhao <barryjzhao@tencent.com>
Sat, 30 May 2020 12:41:31 +0000 (20:41 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 4 Jun 2020 13:26:21 +0000 (21:26 +0800)
commit0c79b731647f834dae86a5cf6fb4dbe3538b2266
tree7f027aba2784508d48c8d749347c4610863a67d8
parent8e7b5ba80e05eb5d58b724bec0be19611b11958a
hwcontext_vulkan: fix make checkheaders fail

make checkheaders will get error as follow:
CC libavutil/hwcontext_vulkan.h.o
In file included from libavutil/hwcontext_vulkan.h.c:1:
./libavutil/hwcontext_vulkan.h:130:23: error: ‘AV_NUM_DATA_POINTERS’ undeclared here (not in a function)
  130 |     void *alloc_pnext[AV_NUM_DATA_POINTERS];
      |                       ^~~~~~~~~~~~~~~~~~~~
./libavutil/hwcontext_vulkan.h:199:43: warning: ‘enum AVPixelFormat’ declared inside parameter list will not be visible outside of this definition or declaration

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavutil/hwcontext_vulkan.h