+++ /dev/null
-diff --git a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c
-index 72220ffb4e..5687c416c9 100644
---- a/libavcodec/vdpau_mpeg12.c
-+++ b/libavcodec/vdpau_mpeg12.c
-@@ -114,6 +114,7 @@ const AVHWAccel ff_mpeg1_vdpau_hwaccel = {
- .frame_priv_data_size = sizeof(struct vdpau_picture_context),
- .init = vdpau_mpeg1_init,
- .uninit = ff_vdpau_common_uninit,
-+ .frame_params = ff_vdpau_common_frame_params,
- .priv_data_size = sizeof(VDPAUContext),
- .caps_internal = HWACCEL_CAP_ASYNC_SAFE,
- };
+++ /dev/null
-diff --git a/libavutil/hwcontext_vdpau.c b/libavutil/hwcontext_vdpau.c
-index dbef5495af..fba06d8ccf 100644
---- a/libavutil/hwcontext_vdpau.c
-+++ b/libavutil/hwcontext_vdpau.c
-@@ -68,6 +68,11 @@ static const VDPAUPixFmtMap pix_fmts_420[] = {
- { 0, AV_PIX_FMT_NONE, },
- };
-
-+static const VDPAUPixFmtMap pix_fmts_420j[] = {
-+ { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUVJ420P },
-+ { 0, AV_PIX_FMT_NONE, },
-+};
-+
- static const VDPAUPixFmtMap pix_fmts_422[] = {
- { VDP_YCBCR_FORMAT_NV12, AV_PIX_FMT_NV16 },
- { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUV422P },
-@@ -92,6 +97,7 @@ static const struct {
- const VDPAUPixFmtMap *map;
- } vdpau_pix_fmts[] = {
- { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUV420P, pix_fmts_420 },
-+ { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUVJ420P, pix_fmts_420j },
- { VDP_CHROMA_TYPE_422, AV_PIX_FMT_YUV422P, pix_fmts_422 },
- { VDP_CHROMA_TYPE_444, AV_PIX_FMT_YUV444P, pix_fmts_444 },
- #ifdef VDP_YCBCR_FORMAT_P016