mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avfilter/vsrc_amf: Remove unused-but-set variable
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user