shithub: opus

Download patch

ref: f57c904732b34d5ee11802d59377607684ddb257
parent: b1d51b2d3f0118a598d8813c59e02fd596e12646
author: Ralph Giles <[email protected]>
date: Wed Jul 12 04:45:33 EDT 2017

Update testvector download command.

Migrating opus-codec.org to a static site generator inserted
a redirect into the download path, which the actual testvectors
at https://opus-codec.org/static/testvectors/opus_testvectors.tar.gz.

Add the -L option to the suggested curl invocation so the redirect
is followed to download the actual resource. Without this one
gets the html redirection fallback page.

--- a/README
+++ b/README
@@ -129,7 +129,7 @@
 
 To run compare the code to these test vectors:
 
-    % curl -O https://opus-codec.org/testvectors/opus_testvectors.tar.gz
+    % curl -OL https://opus-codec.org/testvectors/opus_testvectors.tar.gz
     % tar -zxf opus_testvectors.tar.gz
     % ./tests/run_vectors.sh ./ opus_testvectors 48000