diff --git a/extra/x265/checksums b/extra/x265/checksums
index 064963fa..6b045b47 100644
--- a/extra/x265/checksums
+++ b/extra/x265/checksums
@@ -1 +1 @@
-16a756e8fb84915c7a8229bdd5ca794cf7224292ba7dc01baea95eea725dbffd16
+4cf771f32e0d0798e8703b833f56adcbfdd5257a870d52a8c8313d3a7aa1e1f857
diff --git a/extra/x265/sources b/extra/x265/sources
index 9e748abe..7e31f41d 100644
--- a/extra/x265/sources
+++ b/extra/x265/sources
@@ -1 +1 @@
-https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz
+https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.0.tar.gz
diff --git a/extra/x265/version b/extra/x265/version
index 712a0c0b..6c899f05 100644
--- a/extra/x265/version
+++ b/extra/x265/version
@@ -1 +1 @@
-3.6 1
+4.0 1