# HG changeset patch # User diego # Date 1234658457 0 # Node ID 9f1f4704d89c5db45f3a838281675349bde5ded1 # Parent aa49d3e97b70941e5d25b60ca2163ca7d0c55065 Drop struct members display_flags and state with the next major version bump. They are not used within FFmpeg. diff -r aa49d3e97b70 -r 9f1f4704d89c xvmc.h --- a/xvmc.h Sun Feb 15 00:16:51 2009 +0000 +++ b/xvmc.h Sun Feb 15 00:40:57 2009 +0000 @@ -53,12 +53,16 @@ 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