Fix compile error if u_char is not defined

This commit is contained in:
badaix 2019-11-22 18:26:59 +01:00
parent 3fe1d24715
commit 0b94a56fe5

View file

@ -40,7 +40,7 @@ protected:
void encode(const SampleFormat& format, const char* data, size_t size);
void initEncoder() override;
::OpusEncoder* enc_;
std::vector<u_char> encoded_;
std::vector<unsigned char> encoded_;
std::unique_ptr<msg::PcmChunk> remainder_;
size_t remainder_max_size_;
};