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:
parent
a943f527a1
commit
8449baf9aa
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user