valgrind optimizations

This commit is contained in:
badaix 2015-08-12 22:04:55 +02:00
parent 063ed462f9
commit c8c3b0357e
4 changed files with 9 additions and 9 deletions

View file

@ -93,7 +93,7 @@ void FlacEncoder::encode(const msg::PcmChunk* chunk)
// logO << "encoded: " << chunk->payloadSize << "\tframes: " << encodedSamples_ << "\tres: " << resMs << "\n";
encodedSamples_ = 0;
listener_->onChunkEncoded(this, flacChunk_, resMs);
flacChunk_ = new msg::PcmChunk();
flacChunk_ = new msg::PcmChunk(chunk->format, 0);
}
}