mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 06:56:15 +02:00
server compiles under OpenWrt
This commit is contained in:
parent
b75bb77fd4
commit
212c9c1c6b
9 changed files with 65 additions and 16 deletions
|
@ -19,8 +19,9 @@
|
|||
#include <iostream>
|
||||
|
||||
#include "flacEncoder.h"
|
||||
#include "common/log.h"
|
||||
#include "common/compat.h"
|
||||
#include "common/snapException.h"
|
||||
#include "common/log.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -138,7 +139,7 @@ void FlacEncoder::initEncoder()
|
|||
int quality(2);
|
||||
try
|
||||
{
|
||||
quality = std::stoi(codecOptions_);
|
||||
quality = cpt::stoi(codecOptions_);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue