PR #21596 opened by mkver URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21596 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21596.patch
>From 2e0a64fb33fd9220c1fb2f523276e2b7e4440fe3 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt <[email protected]> Date: Mon, 26 Jan 2026 22:57:51 +0100 Subject: [PATCH] avfilter/vsrc_amf: Remove unused-but-set variable Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavfilter/vsrc_amf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/vsrc_amf.c b/libavfilter/vsrc_amf.c index 932b3210bb..ec4373b249 100644 --- a/libavfilter/vsrc_amf.c +++ b/libavfilter/vsrc_amf.c @@ -107,11 +107,10 @@ static void amf_restore_timer_precision(AMFGrabContext *ctx) static void amf_release_surface(void *opaque, uint8_t *data) { - int ref = 0; if(!!data){ AMFInterface *surface = (AMFInterface*)(data); if (surface && surface->pVtbl) - ref = surface->pVtbl->Release(surface); + surface->pVtbl->Release(surface); } } -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
