mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 06:56:15 +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
|
@ -223,7 +223,7 @@ void OggEncoder::initEncoder()
|
|||
* audio data will start on a new page, as per spec
|
||||
*/
|
||||
size_t pos(0);
|
||||
headerChunk_ = new msg::Header("ogg");
|
||||
headerChunk_.reset(new msg::Header("ogg"));
|
||||
while (true)
|
||||
{
|
||||
int result = ogg_stream_flush(&os,&og);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue