Drop struct members display_flags and state with the next major version bump.
authorDiego Biurrun <diego@biurrun.de>
Sun, 15 Feb 2009 00:40:57 +0000 (00:40 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 15 Feb 2009 00:40:57 +0000 (00:40 +0000)
They are not used within FFmpeg.

Originally committed as revision 17302 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/xvmc.h

index d1dcd20..1556e6e 100644 (file)
@@ -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