diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 604298c877..a7319ed77e 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,