mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 15:06:21 +02:00
encoder header is shared ptr
This commit is contained in:
parent
bfdca3038d
commit
d44232114a
7 changed files with 12 additions and 15 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
PcmEncoder::PcmEncoder(const std::string& codecOptions) : Encoder(codecOptions)
|
||||
{
|
||||
headerChunk_ = new msg::Header("pcm");
|
||||
headerChunk_.reset(new msg::Header("pcm"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue