projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d40cb72
)
vdpau: Add missing deprecation guards
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Tue, 1 Mar 2016 20:34:23 +0000
(15:34 -0500)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sat, 5 Mar 2016 13:23:18 +0000
(08:23 -0500)
libavcodec/vdpau.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/vdpau.c
b/libavcodec/vdpau.c
index
dd48c04
..
bf5f8d9
100644
(file)
--- 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)
{