]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau.h
avcodec/vdpau: Remove deprecated av_vdpau_get_profile
[ffmpeg] / libavcodec / vdpau.h
index 4d9994336911865d839731c6d360102e9eaa27cc..3010094d93fe1a2c437d562b2465811a271447b8 100644 (file)
@@ -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 */