Browse Source

de-fuzzing

Bill Gianopoulos 4 years ago
parent
commit
5eaae01cea

+ 2 - 2
rel-257/libdav1d/patches/1534321-libdav1d-67a1.patch

@@ -33,8 +33,8 @@ diff --git a/media/libdav1d/moz.build b/media/libdav1d/moz.build
 diff --git a/toolkit/moz.configure b/toolkit/moz.configure
 --- a/toolkit/moz.configure
 +++ b/toolkit/moz.configure
-@@ -376,17 +376,18 @@ def av1(value, target, milestone):
-         enabled = target.os != 'Android'
+@@ -380,17 +380,18 @@ def av1(value, target, c_compiler):
+             enabled = True
      if enabled:
          return True
  

+ 3 - 4
rel-257/libdav1d/patches/1535038-libdav1d-67a1.patch

@@ -10,7 +10,7 @@ Differential Revision: https://phabricator.services.mozilla.com/D23334
 diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
 --- a/modules/libpref/init/all.js
 +++ b/modules/libpref/init/all.js
-@@ -656,17 +656,17 @@ pref("media.cubeb.sandbox", false);
+@@ -673,17 +673,17 @@ pref("media.cubeb.sandbox", false);
  #endif
  
  #ifdef MOZ_AV1
@@ -27,6 +27,5 @@ diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
  #endif
  #endif
  
- pref("media.webaudio.audiocontextoptions-samplerate.enabled", true);
- 
-
+ // Set to true to force demux/decode warnings to be treated as errors.
+ pref("media.playback.warnings-as-errors", false);

+ 6 - 7
rel-257/libdav1d/patches/1536070-libdav1d-68a1.patch

@@ -128,7 +128,7 @@ diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
 diff --git a/toolkit/moz.configure b/toolkit/moz.configure
 --- a/toolkit/moz.configure
 +++ b/toolkit/moz.configure
-@@ -364,35 +364,27 @@ set_config('MOZ_FFMPEG', ffmpeg)
+@@ -364,35 +364,24 @@ set_config('MOZ_FFMPEG', ffmpeg)
  set_define('MOZ_FFMPEG', ffmpeg)
  imply_option('--enable-fmp4', ffmpeg, '--enable-ffmpeg')
  
@@ -139,18 +139,17 @@ diff --git a/toolkit/moz.configure b/toolkit/moz.configure
  
 -@depends('--enable-av1', target, c_compiler)
 -def av1(value, target, c_compiler):
-+@depends('--enable-av1', target, milestone)
-+def av1(value, target, milestone):
-     enabled = bool(value)
+-    enabled = bool(value)
 -    if value.origin == 'default':
 -        if target.os == 'WINNT' and target.cpu == 'x86' and \
 -                c_compiler and c_compiler.type == 'msvc':
 -            enabled = False
 -        else:
 -            enabled = True
-+    if value.origin == 'default' and milestone.is_nightly:
-+        enabled = target.os != 'Android'
-     if enabled:
+-    if enabled:
++@depends('--enable-av1')
++def av1(value):
++    if value:
          return True
  
  @depends(target, nasm_version, when=av1 & compile_environment)

+ 5 - 5
rel-257/libdav1d/patches/1540124-libdav1d-68a1.patch

@@ -152,11 +152,11 @@ diff --git a/media/libdav1d/moz.build b/media/libdav1d/moz.build
 diff --git a/toolkit/moz.configure b/toolkit/moz.configure
 --- a/toolkit/moz.configure
 +++ b/toolkit/moz.configure
-@@ -374,21 +374,24 @@ def av1(value, target, milestone):
-     enabled = bool(value)
-     if value.origin == 'default' and milestone.is_nightly:
-         enabled = target.os != 'Android'
-     if enabled:
+@@ -371,21 +371,24 @@ option('--disable-av1',
+ 
+ @depends('--enable-av1')
+ def av1(value):
+     if value:
          return True
  
  @depends(target, nasm_version, when=av1 & compile_environment)

+ 1 - 0
rel-257/libdav1d/patches/series

@@ -1926,3 +1926,4 @@ TOP-9999999-dav1d-avoid-mColorDepth.patch
 1540124-libdav1d-68a1.patch
 1549915-libdav1d-68a1.patch
 1540231-libdav1d-68a1.patch
+9999999-omit-x86-abi-support.patch