summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vdpau.h')
-rw-r--r--libavcodec/vdpau.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h
index 37d212cd86..545b154be0 100644
--- a/libavcodec/vdpau.h
+++ b/libavcodec/vdpau.h
@@ -114,7 +114,7 @@ typedef struct AVVDPAUContext {
VdpBitstreamBuffer *bitstream_buffers;
} AVVDPAUContext;
-
+#if FF_API_CAP_VDPAU
/** @brief The videoSurface is used for rendering. */
#define FF_VDPAU_STATE_USED_FOR_RENDER 1
@@ -153,6 +153,7 @@ struct vdpau_render_state {
union AVVDPAUPictureInfo info;
#endif
};
+#endif
/* @}*/