summaryrefslogtreecommitdiffstats
path: root/contrib/x264/A00-version-string.patch
blob: c5174cbcc2630094d42a355c44c1f490f96df549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/x264.h b/x264.h
index 2e4a98d..2065222 100644
--- a/x264.h
+++ b/x264.h
@@ -41,7 +41,17 @@
 
 #include "x264_config.h"
 
-#define X264_BUILD 142
+/*
+ * Define the full version explicitly so that it survives a git --archive.
+ *
+ * Patch will break every time X264_BUILD changes, so that we don't forget to
+ * update it ;-)
+ */
+#ifdef  X264_VERSION
+#undef  X264_VERSION
+#endif
+#define X264_BUILD       142
+#define X264_VERSION " r2479 dd79a61"
 
 /* Application developers planning to link against a shared library version of
  * libx264 from a Microsoft Visual Studio or similar development environment