summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-26 05:52:36 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:04 -0300
commitaf581cf79d317e798482a095faae781142633f49 (patch)
tree75485e318aaa8f02e221d4462840813c587eb866 /libavcodec/vdpau.h
parentbc9dca5c955614aacc62ff19259de11d126e4a39 (diff)
avcodec/vdpau: Remove deprecated av_vdpau_get_profile
Deprecated in b10b6ac7a902f28e09e37a29c392e2f0c19e9526. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vdpau.h')
-rw-r--r--libavcodec/vdpau.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h
index 4d99943369..3010094d93 100644
--- a/libavcodec/vdpau.h
+++ b/libavcodec/vdpau.h
@@ -55,7 +55,6 @@
#include "libavutil/attributes.h"
#include "avcodec.h"
-#include "version.h"
struct AVCodecContext;
struct AVFrame;
@@ -153,24 +152,6 @@ int av_vdpau_get_surface_parameters(AVCodecContext *avctx, VdpChromaType *type,
*/
AVVDPAUContext *av_vdpau_alloc_context(void);
-#if FF_API_VDPAU_PROFILE
-/**
- * Get a decoder profile that should be used for initializing a VDPAU decoder.
- * Should be called from the AVCodecContext.get_format() callback.
- *
- * @deprecated Use av_vdpau_bind_context() instead.
- *
- * @param avctx the codec context being used for decoding the stream
- * @param profile a pointer into which the result will be written on success.
- * The contents of profile are undefined if this function returns
- * an error.
- *
- * @return 0 on success (non-negative), a negative AVERROR on failure.
- */
-attribute_deprecated
-int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile);
-#endif
-
/* @}*/
#endif /* AVCODEC_VDPAU_H */