mirror of https://github.com/HandBrake/HandBrake
30 lines
665 B
Diff
30 lines
665 B
Diff
diff --git a/x264.h b/x264.h
|
|
index cc22f05d..a9b3b09b 100644
|
|
--- a/x264.h
|
|
+++ b/x264.h
|
|
@@ -45,7 +45,24 @@ extern "C" {
|
|
|
|
#include "x264_config.h"
|
|
|
|
+/*
|
|
+ * 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
|
|
+#ifdef X264_BUILD
|
|
+#undef X264_BUILD
|
|
+#endif
|
|
+#ifdef X264_POINTVER
|
|
+#undef X264_POINTVER
|
|
+#endif
|
|
#define X264_BUILD 165
|
|
+#define X264_VERSION " r3222 b35605ac"
|
|
+#define X264_POINTVER "0.165.3222 b35605ac"
|
|
|
|
#ifdef _WIN32
|
|
# define X264_DLL_IMPORT __declspec(dllimport)
|