Browse Source

vdpau: Add missing deprecation guards

tags/n3.1
Vittorio Giovara 9 years ago
parent
commit
e10b7ef2fe
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/vdpau.c

+ 2
- 0
libavcodec/vdpau.c View File

@@ -317,6 +317,7 @@ int ff_vdpau_add_buffer(struct vdpau_picture_context *pic_ctx,
return 0;
}

#if FF_API_VDPAU_PROFILE
int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile)
{
#define PROFILE(prof) \
@@ -363,6 +364,7 @@ do { \
return AVERROR(EINVAL);
#undef PROFILE
}
#endif /* FF_API_VDPAU_PROFILE */

AVVDPAUContext *av_vdpau_alloc_context(void)
{


Loading…
Cancel
Save