mirror of https://git.videolan.org/git/ffmpeg.git
lavfi/avgblur_vulkan: fix memory leaks
This commit is contained in:
parent
f6cf3a40e4
commit
b6cc53092a
|
@ -153,8 +153,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
|
|||
s->opts.filter_norm[2] = s->opts.filter_norm[0];
|
||||
s->opts.filter_norm[3] = s->opts.filter_norm[0];
|
||||
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
if (spv_opaque)
|
||||
spv->free_shader(spv, &spv_opaque);
|
||||
|
|
Loading…
Reference in New Issue