This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 5b4ba2e1ac avfilter/vsrc_amf: Remove unused-but-set variable
5b4ba2e1ac is described below

commit 5b4ba2e1accb110125ad3ba387cc7f5be13b1bd3
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Jan 26 22:57:51 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Thu Jan 29 22:33:33 2026 +0100

    avfilter/vsrc_amf: Remove unused-but-set variable
    
    Reviewed-by: Michael Niedermayer <[email protected]>
    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);
     }
 }
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to