summaryrefslogtreecommitdiff
path: root/media/libopus/nonunified2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media/libopus/nonunified2.patch')
-rw-r--r--media/libopus/nonunified2.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/media/libopus/nonunified2.patch b/media/libopus/nonunified2.patch
new file mode 100644
index 0000000000..02241de523
--- /dev/null
+++ b/media/libopus/nonunified2.patch
@@ -0,0 +1,34 @@
+diff --git a/media/libopus/sources.mozbuild b/media/libopus/sources.mozbuild
+--- a/media/libopus/sources.mozbuild
++++ b/media/libopus/sources.mozbuild
+@@ -1,12 +1,11 @@
+ # THIS FILE WAS AUTOMATICALLY GENERATED BY gen-sources.py. DO NOT EDIT.
+ celt_sources = [
+ 'celt/bands.c',
+- 'celt/celt.c',
+ 'celt/celt_lpc.c',
+ 'celt/cwrs.c',
+ 'celt/entcode.c',
+ 'celt/entdec.c',
+ 'celt/entenc.c',
+ 'celt/kiss_fft.c',
+ 'celt/laplace.c',
+ 'celt/mathops.c',
+@@ -14,16 +13,18 @@ celt_sources = [
+ 'celt/modes.c',
+ 'celt/pitch.c',
+ 'celt/quant_bands.c',
+ 'celt/rate.c',
+ 'celt/vq.c',
+ ]
+
+ opus_nonunified_sources = [
++ # Disabled because of undefined reference to celt_fatal at link time
++ 'celt/celt.c',
+ # Disabled because of name clash of opus_custom_encoder_get_size.
+ 'celt/celt_decoder.c',
+ 'celt/celt_encoder.c',
+ # Disabled for (safe) warning about QA redefinition.
+ 'silk/LPC_inv_pred_gain.c',
+ 'silk/NLSF2A.c',
+ ]