[FFmpeg-devel] [PATCH] vdpau.h: change vdpau_render_state layout to match fork

Michael Niedermayer michaelni at gmx.at
Wed Mar 20 23:25:45 CET 2013


This might fix a compatibility issue.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/vdpau.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h
index df2aace..4f6f48e 100644
--- a/libavcodec/vdpau.h
+++ b/libavcodec/vdpau.h
@@ -135,15 +135,15 @@ struct vdpau_render_state {
 
     int state; ///< Holds FF_VDPAU_STATE_* values.
 
+    /** picture parameter information for all supported codecs */
+    union FFVdpPictureInfo info;
+
     /** Describe size/location of the compressed video data.
         Set to 0 when freeing bitstream_buffers. */
     int bitstream_buffers_allocated;
     int bitstream_buffers_used;
     /** The user is responsible for freeing this buffer using av_freep(). */
     VdpBitstreamBuffer *bitstream_buffers;
-
-    /** picture parameter information for all supported codecs */
-    union FFVdpPictureInfo info;
 };
 
 /* @}*/
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list