mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-18 00:46:51 +00:00
vf_overlay_opencl: Don't leak output frame on error
Fixes CID #1423277.
This commit is contained in:
parent
6cc44c0583
commit
9b4611a1c1
@ -250,6 +250,7 @@ fail_kernel_arg:
|
||||
kernel_arg, cle);
|
||||
err = AVERROR(EIO);
|
||||
fail:
|
||||
av_frame_free(&output);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user