summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_internal.h
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2014-05-20 12:03:58 -0700
committerMichael Niedermayer <michaelni@gmx.at>2014-05-22 01:53:13 +0200
commitd5d6b8e259793d0f96f820d4d724652268f0f8d4 (patch)
tree6de021c87b4b435997fa081d2085e34fe18b7963 /libavcodec/vdpau_internal.h
parent80ee2dfcf6744525b0d08311333a06ab780af30c (diff)
Fix compilation error around struct visibility when VDPAU disabled.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r--libavcodec/vdpau_internal.h2
1 files changed, 2 insertions, 0 deletions
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,