Commit 09dc6845 authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'e10b7ef2'

* commit 'e10b7ef2':
  vdpau: Add missing deprecation guards
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents feb1f7ab e10b7ef2
...@@ -694,6 +694,7 @@ void ff_vdpau_mpeg4_decode_picture(Mpeg4DecContext *ctx, const uint8_t *buf, ...@@ -694,6 +694,7 @@ void ff_vdpau_mpeg4_decode_picture(Mpeg4DecContext *ctx, const uint8_t *buf,
#endif /* CONFIG_MPEG4_VDPAU_DECODER */ #endif /* CONFIG_MPEG4_VDPAU_DECODER */
#endif /* FF_API_VDPAU */ #endif /* FF_API_VDPAU */
#if FF_API_VDPAU_PROFILE
int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile) int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile)
{ {
#define PROFILE(prof) \ #define PROFILE(prof) \
...@@ -740,6 +741,7 @@ do { \ ...@@ -740,6 +741,7 @@ do { \
return AVERROR(EINVAL); return AVERROR(EINVAL);
#undef PROFILE #undef PROFILE
} }
#endif /* FF_API_VDPAU_PROFILE */
AVVDPAUContext *av_vdpau_alloc_context(void) AVVDPAUContext *av_vdpau_alloc_context(void)
{ {
......
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