#include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h>
+#include "libavutil/avconfig.h"
union FFVdpPictureInfo {
VdpPictureInfoH264 h264;
int state; ///< Holds FF_VDPAU_STATE_* values.
+#if AV_HAVE_INCOMPATIBLE_FORK_ABI
+ /** picture parameter information for all supported codecs */
+ union FFVdpPictureInfo info;
+#endif
+
/** Describe size/location of the compressed video data.
Set to 0 when freeing bitstream_buffers. */
int bitstream_buffers_allocated;
/** The user is responsible for freeing this buffer using av_freep(). */
VdpBitstreamBuffer *bitstream_buffers;
+#if !AV_HAVE_INCOMPATIBLE_FORK_ABI
/** picture parameter information for all supported codecs */
union FFVdpPictureInfo info;
+#endif
};
/* @}*/