mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
media.h: include 'opus.h' instead of 'opus/opus.h'
The current 'opus/opus.h' works if your opus.h is in /usr/include/opus, as /usr/include is already in the header search path. If your opus header search path is found via pkg-config, however, you will get something like this: $ pkg-config --cflags opus -I/usr/local/Cellar/opus/1.1/include/opus Since this is pointing directly to include/opus, the 'opus/' prefix on the header include directive will break. Since 'opus.h' should work in both cases (as in both cases it will be discovered via pkg-config), just use the simpler 'opus.h'. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
This commit is contained in:
parent
1808c88c79
commit
20336c0076
|
@ -36,7 +36,7 @@
|
|||
#define VIDEO_CODEC_ENCODER_INTERFACE (vpx_codec_vp8_cx())
|
||||
|
||||
/* Audio encoding/decoding */
|
||||
#include <opus/opus.h>
|
||||
#include <opus.h>
|
||||
|
||||
typedef enum _Capabilities
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user