mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
b390a15468
Saving is disappointing, only 41kiB out of a 2222kiB MozReview-Commit-ID: JNz9PxHTLUp --HG-- extra : rebase_source : b68ed5c3784c76d840438d1d5e369c95a8abd9a7
66 lines
2.0 KiB
Diff
66 lines
2.0 KiB
Diff
diff --git a/media/ffvpx/libavutil/eval.c b/media/ffvpx/libavutil/eval.c
|
|
index 7642b91..e938bd5 100644
|
|
--- a/media/ffvpx/libavutil/eval.c
|
|
+++ b/media/ffvpx/libavutil/eval.c
|
|
@@ -34,7 +34,7 @@
|
|
#include "internal.h"
|
|
#include "log.h"
|
|
#include "mathematics.h"
|
|
-#include "time.h"
|
|
+#include "fftime.h"
|
|
#include "avstring.h"
|
|
#include "timer.h"
|
|
|
|
diff --git a/media/ffvpx/libavutil/time.h b/media/ffvpx/libavutil/fftime.h
|
|
similarity index 100%
|
|
rename from media/ffvpx/libavutil/time.h
|
|
rename to media/ffvpx/libavutil/fftime.h
|
|
diff --git a/media/ffvpx/libavutil/time.c b/media/ffvpx/libavutil/time.c
|
|
index dbaee02..69419e6 100644
|
|
--- a/media/ffvpx/libavutil/time.c
|
|
+++ b/media/ffvpx/libavutil/time.c
|
|
@@ -33,7 +33,7 @@
|
|
#include <windows.h>
|
|
#endif
|
|
|
|
-#include "time.h"
|
|
+#include "fftime.h"
|
|
#include "error.h"
|
|
|
|
int64_t av_gettime(void)
|
|
diff --git a/media/ffvpx/libavutil/parseutils.c b/media/ffvpx/libavutil/parseutils.c
|
|
index 9fb8d0a..97ad3b9 100644
|
|
--- a/media/ffvpx/libavutil/parseutils.c
|
|
+++ b/media/ffvpx/libavutil/parseutils.c
|
|
@@ -28,7 +28,7 @@
|
|
#include "common.h"
|
|
#include "eval.h"
|
|
#include "log.h"
|
|
-#include "random_seed.h"
|
|
+/* #include "random_seed.h" */
|
|
#include "time_internal.h"
|
|
#include "parseutils.h"
|
|
|
|
@@ -367,7 +367,7 @@ int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
|
|
rgba_color[3] = 255;
|
|
|
|
if (!av_strcasecmp(color_string2, "random") || !av_strcasecmp(color_string2, "bikeshed")) {
|
|
- int rgba = av_get_random_seed();
|
|
+ int rgba = 0xffffffff; /* av_get_random_seed(); */
|
|
rgba_color[0] = rgba >> 24;
|
|
rgba_color[1] = rgba >> 16;
|
|
rgba_color[2] = rgba >> 8;
|
|
diff --git a/media/ffvpx/libavcodec/options.c b/media/ffvpx/libavcodec/options.c
|
|
index d8e3dbf..f25df2a 100644
|
|
--- a/media/ffvpx/libavcodec/options.c
|
|
+++ b/media/ffvpx/libavcodec/options.c
|
|
@@ -34,7 +34,7 @@
|
|
#include <string.h>
|
|
|
|
FF_DISABLE_DEPRECATION_WARNINGS
|
|
-#include "options_table.h"
|
|
+#include "ff_options_table.h"
|
|
FF_ENABLE_DEPRECATION_WARNINGS
|
|
|
|
static const char* context_to_name(void* ptr) {
|