1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

hwcontext_vulkan: properly error out if timeline semaphores are unsupported

Missing goto.
This commit is contained in:
Lynne 2021-11-12 23:50:10 +01:00
parent a943f527a1
commit 8449baf9aa
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -1215,6 +1215,7 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
if (!dev_features_1_2.timelineSemaphore) {
av_log(ctx, AV_LOG_ERROR, "Device does not support timeline semaphores!\n");
err = AVERROR(ENOSYS);
goto end;
}
p->device_features_1_2.timelineSemaphore = 1;