mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 05:40:27 +00:00
Lavc: fixed a warning
This commit is contained in:
@@ -768,6 +768,8 @@ static list<enum AVPixelFormat> 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
|
||||
|
||||
Reference in New Issue
Block a user