1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

vulkan_encode_av1: Fix uninitialized return value in write_extra_headers

This commit is contained in:
David Rosca
2025-08-08 13:00:20 +02:00
committed by Lynne
parent db6fd82651
commit 069daca9e0

View File

@@ -1108,6 +1108,7 @@ static int write_extra_headers(AVCodecContext *avctx,
if (err < 0)
goto fail;
} else {
err = 0;
*data_len = 0;
}