Commit 117f9234 authored by Ivan Kalvachev's avatar Ivan Kalvachev

Rename xvmc flags to follow ffmpeg AV_ notion.

preserve MP_ ones until next major bump.

Originally committed as revision 17245 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ea375af8
......@@ -38,6 +38,13 @@
// 1337 IDCT MCo
#define AV_XVMC_RENDER_MAGIC 0x1DC711C0
#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 {
//these are not changed by the decoder!
int magic; ///< used as check for memory corruption by regular pixel routines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment