From 53872d7b151ab6ea158edc4c6fdf1dc3494cb80e Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 30 Jul 2019 22:52:21 +0200 Subject: [PATCH] Lavc: fixed a warning --- src/video_compress/libavcodec.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video_compress/libavcodec.cpp b/src/video_compress/libavcodec.cpp index a3ac039c2..2c95eace3 100644 --- a/src/video_compress/libavcodec.cpp +++ b/src/video_compress/libavcodec.cpp @@ -768,6 +768,8 @@ static list get_available_pix_fmts(struct video_desc in_desc if (regex_match(codec->name, regex(".*vaapi.*"))) { fmts.push_back(AV_PIX_FMT_VAAPI); } +#else + UNUSED(codec); #endif // add the format itself if it matches the ultragrid one