diff options
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r-- | libavcodec/vdpau.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index da9ae9ddfb..6ac195ec00 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -390,7 +390,7 @@ AVHWAccel ff_mpeg1_vdpau_hwaccel = { .name = "mpeg1_vdpau", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG1VIDEO, - .pix_fmt = PIX_FMT_VDPAU_MPEG1, + .pix_fmt = AV_PIX_FMT_VDPAU_MPEG1, .start_frame = vdpau_mpeg2_start_frame, .end_frame = vdpau_mpeg2_end_frame, .decode_slice = vdpau_mpeg2_decode_slice, @@ -400,7 +400,7 @@ AVHWAccel ff_mpeg2_vdpau_hwaccel = { .name = "mpeg2_vdpau", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG2VIDEO, - .pix_fmt = PIX_FMT_VDPAU_MPEG2, + .pix_fmt = AV_PIX_FMT_VDPAU_MPEG2, .start_frame = vdpau_mpeg2_start_frame, .end_frame = vdpau_mpeg2_end_frame, .decode_slice = vdpau_mpeg2_decode_slice, |