mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-17 19:16:14 +02:00
Fix compile error if u_char is not defined
This commit is contained in:
parent
3fe1d24715
commit
0b94a56fe5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ protected:
|
||||||
void encode(const SampleFormat& format, const char* data, size_t size);
|
void encode(const SampleFormat& format, const char* data, size_t size);
|
||||||
void initEncoder() override;
|
void initEncoder() override;
|
||||||
::OpusEncoder* enc_;
|
::OpusEncoder* enc_;
|
||||||
std::vector<u_char> encoded_;
|
std::vector<unsigned char> encoded_;
|
||||||
std::unique_ptr<msg::PcmChunk> remainder_;
|
std::unique_ptr<msg::PcmChunk> remainder_;
|
||||||
size_t remainder_max_size_;
|
size_t remainder_max_size_;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue