You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/vdpau: remove incompatible-libav-abi hack from vdpau_render_state struct
This commit is contained in:
@@ -231,10 +231,8 @@ struct vdpau_render_state {
|
|||||||
|
|
||||||
int state; ///< Holds FF_VDPAU_STATE_* values.
|
int state; ///< Holds FF_VDPAU_STATE_* values.
|
||||||
|
|
||||||
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
|
|
||||||
/** picture parameter information for all supported codecs */
|
/** picture parameter information for all supported codecs */
|
||||||
union AVVDPAUPictureInfo info;
|
union AVVDPAUPictureInfo info;
|
||||||
#endif
|
|
||||||
|
|
||||||
/** Describe size/location of the compressed video data.
|
/** Describe size/location of the compressed video data.
|
||||||
Set to 0 when freeing bitstream_buffers. */
|
Set to 0 when freeing bitstream_buffers. */
|
||||||
@@ -242,11 +240,6 @@ struct vdpau_render_state {
|
|||||||
int bitstream_buffers_used;
|
int bitstream_buffers_used;
|
||||||
/** The user is responsible for freeing this buffer using av_freep(). */
|
/** The user is responsible for freeing this buffer using av_freep(). */
|
||||||
VdpBitstreamBuffer *bitstream_buffers;
|
VdpBitstreamBuffer *bitstream_buffers;
|
||||||
|
|
||||||
#if !AV_HAVE_INCOMPATIBLE_LIBAV_ABI
|
|
||||||
/** picture parameter information for all supported codecs */
|
|
||||||
union AVVDPAUPictureInfo info;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user