You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
vdpau: Add missing deprecation guards
This commit is contained in:
@@ -317,6 +317,7 @@ int ff_vdpau_add_buffer(struct vdpau_picture_context *pic_ctx,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#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) \
|
||||||
@@ -363,6 +364,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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user