summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/xvmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavcodec/xvmc.h')
-rw-r--r--ffmpeg/libavcodec/xvmc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ffmpeg/libavcodec/xvmc.h b/ffmpeg/libavcodec/xvmc.h
index b2bf518..c2e187c 100644
--- a/ffmpeg/libavcodec/xvmc.h
+++ b/ffmpeg/libavcodec/xvmc.h
@@ -29,6 +29,8 @@
#include <X11/extensions/XvMC.h>
+#include "libavutil/attributes.h"
+#include "version.h"
#include "avcodec.h"
/**
@@ -41,7 +43,7 @@
#define AV_XVMC_ID 0x1DC711C0 /**< special value to ensure that regular pixel routines haven't corrupted the struct
the number is 1337 speak for the letters IDCT MCo (motion compensation) */
-struct xvmc_pix_fmt {
+attribute_deprecated struct xvmc_pix_fmt {
/** The field contains the special constant value AV_XVMC_ID.
It is used as a test that the application correctly uses the API,
and that there is no corruption caused by pixel routines.