avutil/hwcontext_vaapi: mark try_all with av_unused to suppres warning

Fixes: warning: variable 'try_all' set but not used [-Wunused-but-set-variable]
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2025-12-08 21:31:13 +00:00
committed by James Almer
co-authored by James Almer
parent 018041f150
commit 6083c9bb8c
+1 -1
View File
@@ -1715,7 +1715,7 @@ static int vaapi_device_create(AVHWDeviceContext *ctx, const char *device,
VAAPIDevicePriv *priv;
VADisplay display = NULL;
const AVDictionaryEntry *ent;
int try_drm, try_x11, try_win32, try_all;
int try_drm, try_x11, try_win32, try_all av_unused;
priv = av_mallocz(sizeof(*priv));
if (!priv)