You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavfi/vf_blend_vulkan: fix leak on error
This commit is contained in:
@@ -249,7 +249,8 @@ static int blend_frame(FFFrameSync *fs)
|
|||||||
if (top_fc->sw_format != bottom_fc->sw_format) {
|
if (top_fc->sw_format != bottom_fc->sw_format) {
|
||||||
av_log(avctx, AV_LOG_ERROR,
|
av_log(avctx, AV_LOG_ERROR,
|
||||||
"Currently the sw format of the bottom video need to match the top!\n");
|
"Currently the sw format of the bottom video need to match the top!\n");
|
||||||
return AVERROR(EINVAL);
|
err = AVERROR(EINVAL);
|
||||||
|
goto fail;
|
||||||
}
|
}
|
||||||
RET(init_filter(avctx));
|
RET(init_filter(avctx));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user