aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xvmc.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-15 00:40:57 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-15 00:40:57 +0000
commit3af6c3dd9a00be8a8ae23baa035942e44001a992 (patch)
treec918ba128ed406d124c62930c1d5dda82bebd89c /libavcodec/xvmc.h
parent8f38ff007ac89042bc30d9ee7d04c5409b8cb668 (diff)
downloadffmpeg-3af6c3dd9a00be8a8ae23baa035942e44001a992.tar.gz
Drop struct members display_flags and state with the next major version bump.
They are not used within FFmpeg. Originally committed as revision 17302 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xvmc.h')
-rw-r--r--libavcodec/xvmc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h
index d1dcd201f6..1556e6e47c 100644
--- a/libavcodec/xvmc.h
+++ b/libavcodec/xvmc.h
@@ -53,12 +53,16 @@ struct xvmc_render_state {
unsigned int picture_structure; ///< top/bottom fields or frame
unsigned int flags; ///< XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
+#if LIBAVCODEC_VERSION_MAJOR < 53
unsigned int display_flags; ///< 1, 2 or 1+2 fields for XvMCPutSurface
+#endif
//}@
/** modified by calling application and the decoder */
//@{
+#if LIBAVCODEC_VERSION_MAJOR < 53
int state; ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction
+#endif
int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo
int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder