File: changes.patch

package info (click to toggle)
firefox 149.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,767,760 kB
  • sloc: cpp: 7,416,064; javascript: 6,752,859; ansic: 3,774,850; python: 1,250,473; xml: 641,578; asm: 439,191; java: 186,617; sh: 56,634; makefile: 18,856; objc: 13,092; perl: 12,763; pascal: 5,960; yacc: 4,583; cs: 3,846; lex: 1,720; ruby: 1,002; php: 436; lisp: 258; awk: 105; sql: 66; sed: 53; csh: 10; exp: 6
file content (116 lines) | stat: -rw-r--r-- 3,232 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
--- a/libavutil/time.c	2024-02-14 14:57:10.389087159 +0100
+++ b/libavutil/time.c	2024-04-05 14:43:19.097889433 +0200
@@ -28,17 +28,17 @@
 #endif
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 #if HAVE_WINDOWS_H
 #include <windows.h>
 #endif

-#include "time.h"
+#include "fftime.h"
 #include "error.h"

 int64_t av_gettime(void)
 {
 #if HAVE_GETTIMEOFDAY
     struct timeval tv;
     gettimeofday(&tv, NULL);
     return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
--- a/libavutil/parseutils.c	2024-03-26 14:03:12.080640731 +0100
+++ b/libavutil/parseutils.c	2024-04-05 14:44:56.508766832 +0200
@@ -23,20 +23,20 @@

 #include <time.h>

 #include "avstring.h"
 #include "avutil.h"
 #include "common.h"
 #include "eval.h"
 #include "log.h"
-#include "random_seed.h"
+/* #include "random_seed.h" */
 #include "time_internal.h"
 #include "parseutils.h"
-#include "time.h"
+#include "fftime.h"

 #ifdef TEST

 #define av_get_random_seed av_get_random_seed_deterministic
 static uint32_t av_get_random_seed_deterministic(void);

 #define av_gettime() 1331972053200000

@@ -370,17 +370,17 @@
     av_strlcpy(color_string2, color_string + hex_offset,
                FFMIN(slen-hex_offset+1, sizeof(color_string2)));
     if ((tail = strchr(color_string2, ALPHA_SEP)))
         *tail++ = 0;
     len = strlen(color_string2);
     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;
         rgba_color[3] = rgba;
     } else if (hex_offset ||
                strspn(color_string2, "0123456789ABCDEFabcdef") == len) {
         char *tail;
         unsigned int rgba = strtoul(color_string2, &tail, 16);
--- a/libavutil/eval.c	2024-04-05 14:40:56.917791496 +0200
+++ b/libavutil/eval.c	2024-04-05 17:39:45.061516936 +0200
@@ -31,17 +31,17 @@
 #include "avutil.h"
 #include "common.h"
 #include "eval.h"
 #include "ffmath.h"
 #include "log.h"
 #include "mathematics.h"
 #include "mem.h"
 #include "sfc64.h"
-#include "time.h"
+#include "fftime.h"
 #include "avstring.h"
 #include "reverse.h"

 typedef struct Parser {
     const AVClass *class;
     int stack_index;
     char *s;
     const double *const_values;
--- a/media/ffvpx/libavcodec/dxva2.c
+++ b/media/ffvpx/libavcodec/dxva2.c
@@ -27,7 +27,7 @@
 #include "libavutil/common.h"
 #include "libavutil/log.h"
 #include "libavutil/mem.h"
-#include "libavutil/time.h"
+#include "libavutil/fftime.h"

 #include "avcodec.h"
 #include "decode.h"
--- a/media/ffvpx/libavcodec/dxva2_internal.h
+++ b/media/ffvpx/libavcodec/dxva2_internal.h
@@ -65,6 +65,7 @@
 #endif

 #include "libavutil/hwcontext.h"
+#include "libavutil/mem.h"

 #include "avcodec.h"
 #include "internal.h"
--- a/media/ffvpx/libavcodec/dxva2.c
+++ b/media/ffvpx/libavcodec/dxva2.c
@@ -647,6 +647,7 @@ int ff_dxva2_common_frame_params(AVCodec
         AVD3D11VAFramesContext *frames_hwctx = frames_ctx->hwctx;

         frames_hwctx->BindFlags |= D3D11_BIND_DECODER;
+        frames_hwctx->BindFlags |= D3D11_BIND_SHADER_RESOURCE;
     }
 #endif