summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/xvmc.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
commitf7813a5324be39d13ab536c245d15dfc602a7849 (patch)
treefad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/xvmc.h
parentb7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff)
basic type mechanism working
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.