[FFmpeg-devel] [PATCH 3/4] Fix compilation error around struct visibility when VDPAU disabled.

Dale Curtis dalecurtis at chromium.org
Tue May 20 21:03:58 CEST 2014


---
 libavcodec/vdpau_internal.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index 604298c..a7319ed 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -75,6 +75,8 @@ struct vdpau_picture_context {
      */
     VdpBitstreamBuffer *bitstream_buffers;
 };
+#else
+struct vdpau_picture_context;
 #endif
 
 int ff_vdpau_common_start_frame(struct vdpau_picture_context *pic,
-- 
1.9.1.423.g4596e3a



More information about the ffmpeg-devel mailing list