[FFmpeg-devel] [PATCH 2/4] lavc/xvmc.h: mark the header as deprecated

Anton Khirnov anton at khirnov.net
Tue Feb 1 12:02:25 EET 2022


---
 libavcodec/xvmc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h
index 465ee78d6e..78ec4530c2 100644
--- a/libavcodec/xvmc.h
+++ b/libavcodec/xvmc.h
@@ -27,6 +27,8 @@
  * Public libavcodec XvMC header.
  */
 
+#pragma message("XvMC is no longer supported; this header is deprecated and will be removed")
+
 #include <X11/extensions/XvMC.h>
 
 #include "libavutil/attributes.h"
-- 
2.34.1



More information about the ffmpeg-devel mailing list