1 --- a/libavutil/hwcontext_vdpau.c
2 +++ b/libavutil/hwcontext_vdpau.c
4 { 0, AV_PIX_FMT_NONE, },
7 +static const VDPAUPixFmtMap pix_fmts_420j[] = {
8 + { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUVJ420P },
9 + { 0, AV_PIX_FMT_NONE, },
12 static const VDPAUPixFmtMap pix_fmts_422[] = {
13 { VDP_YCBCR_FORMAT_NV12, AV_PIX_FMT_NV16 },
14 { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUV422P },
16 const VDPAUPixFmtMap *map;
17 } vdpau_pix_fmts[] = {
18 { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUV420P, pix_fmts_420 },
19 + { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUVJ420P, pix_fmts_420j },
20 { VDP_CHROMA_TYPE_422, AV_PIX_FMT_YUV422P, pix_fmts_422 },
21 { VDP_CHROMA_TYPE_444, AV_PIX_FMT_YUV444P, pix_fmts_444 },
22 #ifdef VDP_YCBCR_FORMAT_P016