shithub: opusfile

Download patch

ref: 9bc622bbe1822584eb8d774700a11b592f462b49
parent: d9a84c84411860c15841bbd12fec971d8a9cebef
author: Ralph Giles <[email protected]>
date: Sun Sep 16 14:10:01 EDT 2012

Use an unprefixed include path for the opus headers.

This fixes the build to use the headers returned by pkg-config.
The opus library assumes the called will pass -I/path/to/opus
so #include <opus.h> will work.

--- a/include/opus/opusfile.h
+++ b/include/opus/opusfile.h
@@ -23,7 +23,7 @@
 
 # include <stdio.h>
 # include <ogg/ogg.h>
-# include <opus/opus_multistream.h>
+# include <opus_multistream.h>
 
 /*Enable special features for gcc and gcc-compatible compilers.*/
 # if !defined(OP_GNUC_PREREQ)