Fix compilation error around struct visibility when VDPAU disabled.
authorDale Curtis <dalecurtis@chromium.org>
Tue, 20 May 2014 19:03:58 +0000 (12:03 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 May 2014 23:53:13 +0000 (01:53 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vdpau_internal.h

index 604298c..a7319ed 100644 (file)
@@ -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,