summaryrefslogtreecommitdiff
path: root/libavcodec/xvmc.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-14 19:08:47 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-14 19:08:47 +0000
commit6c7b70fbd682c69582d1f49d0321a2cb9b1f6bf2 (patch)
treed889cf821918fa0b84a5935c8f687728eb9d658e /libavcodec/xvmc.h
parent36c5204d4eae11cf28a5ec68ff4e2951cbcbc25a (diff)
Remove compatibility layer for old names of xvmc definitions.
The header was non-public before and the only user, MPlayer, was updated. Originally committed as revision 17263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xvmc.h')
-rw-r--r--libavcodec/xvmc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h
index 97efa82183..98946ad744 100644
--- a/libavcodec/xvmc.h
+++ b/libavcodec/xvmc.h
@@ -23,21 +23,12 @@
#include <X11/extensions/XvMC.h>
-#include "avcodec.h"
-
#define AV_XVMC_STATE_DISPLAY_PENDING 1 /** the surface should be shown, the video driver manipulates this */
#define AV_XVMC_STATE_PREDICTION 2 /** the surface is needed for prediction, the codec manipulates this */
#define AV_XVMC_STATE_OSD_SOURCE 4 /** this surface is needed for subpicture rendering */
#define AV_XVMC_RENDER_MAGIC 0x1DC711C0 /**< magic value to ensure that regular pixel routines haven't corrupted the struct */
// 1337 IDCT MCo
-#if LIBAVCODEC_VERSION_MAJOR < 53
-#define MP_XVMC_STATE_DISPLAY_PENDING AV_XVMC_STATE_DISPLAY_PENDING
-#define MP_XVMC_STATE_PREDICTION AV_XVMC_STATE_PREDICTION
-#define MP_XVMC_STATE_OSD_SOURCE AV_XVMC_STATE_OSD_SOURCE
-#define MP_XVMC_RENDER_MAGIC AV_XVMC_RENDER_MAGIC
-#endif
-
struct xvmc_render_state {
/** set by calling application */
//@{