1 diff -ru a/libavutil/hwcontext_vdpau.c b/libavutil/hwcontext_vdpau.c
2 --- a/libavutil/hwcontext_vdpau.c 2019-08-05 14:52:21.000000000 -0600
3 +++ b/libavutil/hwcontext_vdpau.c 2020-04-15 10:59:45.793687570 -0600
5 { 0, AV_PIX_FMT_NONE, },
8 +static const VDPAUPixFmtMap pix_fmts_420j[] = {
9 + { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUVJ420P },
10 + { 0, AV_PIX_FMT_NONE, },
13 static const VDPAUPixFmtMap pix_fmts_422[] = {
14 { VDP_YCBCR_FORMAT_NV12, AV_PIX_FMT_NV16 },
15 { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUV422P },
17 const VDPAUPixFmtMap *map;
18 } vdpau_pix_fmts[] = {
19 { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUV420P, pix_fmts_420 },
20 + { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUVJ420P, pix_fmts_420j },
21 { VDP_CHROMA_TYPE_422, AV_PIX_FMT_YUV422P, pix_fmts_422 },
22 { VDP_CHROMA_TYPE_444, AV_PIX_FMT_YUV444P, pix_fmts_444 },