From b10b6ac7a902f28e09e37a29c392e2f0c19e9526 Mon Sep 17 00:00:00 2001 From: RĂ©mi Denis-Courmont Date: Sun, 27 Sep 2015 13:49:09 +0300 Subject: vdpau: deprecate av_vdpau_get_profile() This function can intrinsically not deal with codec profile fallback (for H.264 Constrained Baseline especially), and was made redundant by av_vdpau_bind_context(). Signed-off-by: Anton Khirnov --- libavcodec/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/version.h') diff --git a/libavcodec/version.h b/libavcodec/version.h index ecd6e1d1ea..c704d44b7a 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -165,5 +165,8 @@ #ifndef FF_API_SIDEDATA_ONLY_PKT #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59) #endif +#ifndef FF_API_VDPAU_PROFILE +#define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59) +#endif #endif /* AVCODEC_VERSION_H */ -- cgit v1.2.3