diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-02-03 13:15:16 +0000 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2023-02-03 09:23:09 -0800 |
commit | 771c8a165a396b532f2841ae12a15a5076280eff (patch) | |
tree | 8df86b1bd6e84832bab25dc753276fbf40be56f8 /filters/f_hwtransfer.c | |
parent | c7c92240a933e41392560c8086923d0d1c7aada2 (diff) | |
download | mpv-771c8a165a396b532f2841ae12a15a5076280eff.tar.bz2 mpv-771c8a165a396b532f2841ae12a15a5076280eff.tar.xz |
f_hwtransfer: fix leak of framesconstraints
Diffstat (limited to 'filters/f_hwtransfer.c')
-rw-r--r-- | filters/f_hwtransfer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filters/f_hwtransfer.c b/filters/f_hwtransfer.c index 050b674db8..13a2224e95 100644 --- a/filters/f_hwtransfer.c +++ b/filters/f_hwtransfer.c @@ -385,6 +385,7 @@ static bool probe_formats(struct mp_hwupload *u, int hw_imgfmt) av_buffer_unref(&frames); } + av_hwframe_constraints_free(&cstr); p->av_device_ctx = av_buffer_ref(ctx->av_device_ref); if (!p->av_device_ctx) return false; |