mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
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:
committed by
James Almer
co-authored by
James Almer
parent
018041f150
commit
6083c9bb8c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user