[FFmpeg-cvslog] Fix compilation error around struct visibility when VDPAU disabled.

Dale Curtis git at videolan.org
Thu May 22 01:58:53 CEST 2014


ffmpeg | branch: master | Dale Curtis <dalecurtis at chromium.org> | Tue May 20 12:03:58 2014 -0700| [d5d6b8e259793d0f96f820d4d724652268f0f8d4] | committer: Michael Niedermayer

Fix compilation error around struct visibility when VDPAU disabled.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5d6b8e259793d0f96f820d4d724652268f0f8d4
---

 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,



More information about the ffmpeg-cvslog mailing list