Commit 42ff56e3 authored by Hendrik Leppkes's avatar Hendrik Leppkes

lavc: fix profile declarations for vdpau decoders

parent 1e96b151
......@@ -2004,7 +2004,7 @@ AVCodec ff_h264_vdpau_decoder = {
.flush = flush_dpb,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_VDPAU_H264,
AV_PIX_FMT_NONE},
.profiles = NULL_IF_CONFIG_SMALL(profiles),
.profiles = NULL_IF_CONFIG_SMALL(ff_h264_profiles),
.priv_class = &h264_vdpau_class,
};
#endif
......@@ -1165,7 +1165,7 @@ AVCodec ff_wmv3_vdpau_decoder = {
.decode = vc1_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HWACCEL_VDPAU,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_WMV3, AV_PIX_FMT_NONE },
.profiles = NULL_IF_CONFIG_SMALL(profiles)
.profiles = NULL_IF_CONFIG_SMALL(ff_vc1_profiles)
};
#endif
......@@ -1181,7 +1181,7 @@ AVCodec ff_vc1_vdpau_decoder = {
.decode = vc1_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HWACCEL_VDPAU,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_VC1, AV_PIX_FMT_NONE },
.profiles = NULL_IF_CONFIG_SMALL(profiles)
.profiles = NULL_IF_CONFIG_SMALL(ff_vc1_profiles)
};
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment