mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 23:16:14 +02:00
fixed clang warnings (CXX = /usr/bin/clang++)
This commit is contained in:
parent
f11a7055a1
commit
e1a47b3b98
5 changed files with 9 additions and 11 deletions
|
@ -28,7 +28,7 @@
|
|||
using namespace std;
|
||||
|
||||
|
||||
OggEncoder::OggEncoder(const std::string& codecOptions) : Encoder(codecOptions), lastGranulepos(0), eos(0)
|
||||
OggEncoder::OggEncoder(const std::string& codecOptions) : Encoder(codecOptions), lastGranulepos(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@ void OggEncoder::initEncoder()
|
|||
|
||||
*********************************************************************/
|
||||
|
||||
ret = vorbis_encode_init_vbr(&vi, sampleFormat_.channels, sampleFormat_.rate, quality);
|
||||
int ret = vorbis_encode_init_vbr(&vi, sampleFormat_.channels, sampleFormat_.rate, quality);
|
||||
|
||||
/* do not continue if setup failed; this can happen if we ask for a
|
||||
mode that libVorbis does not support (eg, too low a bitrate, etc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue