#include <va/va_dec_hevc.h>
#include "avcodec.h"
-#include "hevc.h"
+#include "hevcdec.h"
+#include "hwaccel.h"
#include "vaapi_decode.h"
typedef struct VAAPIDecodePictureHEVC {
.init = ff_vaapi_decode_init,
.uninit = ff_vaapi_decode_uninit,
.priv_data_size = sizeof(VAAPIDecodeContext),
+ .caps_internal = HWACCEL_CAP_ASYNC_SAFE,
};