diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index d76845e3bfb1f939e95b20f0ce067c86a9f51468..bf9233d4dc78d2348fc38f468aaf04097fa9a107 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -107,7 +107,7 @@ struct vdpau_picture_context {
 
 int ff_vdpau_common_init(AVCodecContext *avctx, VdpDecoderProfile profile,
                          int level);
-#endif
+#endif //CONFIG_VDPAU
 
 int ff_vdpau_common_uninit(AVCodecContext *avctx);