vaapi: Add ABGR map only if VA_FOURCC_ABGR is defined

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pull/272/head
Elviss Strazdins 8 years ago committed by Luca Barbato
parent 6a7e928555
commit 2017ffc18f
  1. 2
      libavutil/hwcontext_vaapi.c

@ -107,8 +107,10 @@ static const struct {
//MAP(BGRX, RGB32, BGR0),
MAP(RGBA, RGB32, RGBA),
//MAP(RGBX, RGB32, RGB0),
#ifdef VA_FOURCC_ABGR
MAP(ABGR, RGB32, ABGR),
//MAP(XBGR, RGB32, 0BGR),
#endif
MAP(ARGB, RGB32, ARGB),
//MAP(XRGB, RGB32, 0RGB),
};

Loading…
Cancel
Save