Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-03-01 23:34:23 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-05 16:23:18 +0300
commite10b7ef2fe56603fb1baac6b20fd6bd0a3fdd0d0 (patch)
treec5f5bbe3557d8c24542276f08b5c0bf460864cb0 /libavcodec/vdpau.c
parentd40cb726d271b0284642a1ba159eb26a5c579f77 (diff)
vdpau: Add missing deprecation guards
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r--libavcodec/vdpau.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index dd48c043cc..bf5f8d9c31 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -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)
{