From 8be8d9932c3ac679bc13f4937faf8d2a53976e4d Mon Sep 17 00:00:00 2001
From: Adrien Beraud <adrien.beraud@savoirfairelinux.com>
Date: Wed, 21 Jun 2017 09:36:24 +0200
Subject: [PATCH] contrib: bump opus to 1.2

Opus 1.2 brings many improvements, including
speech quality improvements, performance improvements,
and support for Ambisonics mapping, that could be used
for VR.

See https://people.xiph.org/~jm/opus/opus-1.2/

Using latest Opus has no major implication but
brings "free" quality and performance improvements and
is good for marketing purposes.

Change-Id: Ib7fa3ed17e423fffa8ac79f8fe8e3af46057991c
---
 contrib/src/opus/SHA512SUMS          | 2 +-
 contrib/src/opus/fetch_and_patch.bat | 2 +-
 contrib/src/opus/rules.mak           | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/src/opus/SHA512SUMS b/contrib/src/opus/SHA512SUMS
index 6bf101b73a..d969e97887 100644
--- a/contrib/src/opus/SHA512SUMS
+++ b/contrib/src/opus/SHA512SUMS
@@ -1 +1 @@
-57f14b9e8037eaa02a4d86535d3bbcceca249310fbc9ef1a452cc19dd442d4cf338d5db241d20605c236e22549df2c8266b7486c5f1666b80c532afd52cb3585  opus-1.1.4.tar.gz
+1bc8489012923c14fc38577c7b9c78368b627b088be55f6c7a40a825864da5006ec36c65686adbeba7e402fdc6ea793d6f1a6dfd281a2aadd79064ff07091ebc  opus-1.2.tar.gz
diff --git a/contrib/src/opus/fetch_and_patch.bat b/contrib/src/opus/fetch_and_patch.bat
index 094aea38d5..bac7d92fa3 100644
--- a/contrib/src/opus/fetch_and_patch.bat
+++ b/contrib/src/opus/fetch_and_patch.bat
@@ -1,6 +1,6 @@
 set BUILD=%SRC%..\build
 
-set OPUS_VERSION=b0dd440bbefa628e23ed50e418316c0afb4fe37d
+set OPUS_VERSION=4e59fb88fac0a4bfa616a7b1c2ec752baa610ef6
 set OPUS_URL=https://github.com/ShiftMediaProject/opus/archive/%OPUS_VERSION%.tar.gz
 
 mkdir %BUILD%
diff --git a/contrib/src/opus/rules.mak b/contrib/src/opus/rules.mak
index 67e71db22b..9c475c9fef 100644
--- a/contrib/src/opus/rules.mak
+++ b/contrib/src/opus/rules.mak
@@ -1,8 +1,8 @@
 # opus
 
-OPUS_VERSION := 1.1.4
+OPUS_VERSION := 1.2
 
-OPUS_URL := http://downloads.xiph.org/releases/opus/opus-$(OPUS_VERSION).tar.gz
+OPUS_URL := https://archive.mozilla.org/pub/opus/opus-$(OPUS_VERSION).tar.gz
 
 PKGS += opus
 ifeq ($(call need_pkg,"opus >= 0.9.14"),)
-- 
GitLab