use less raw pointers

This commit is contained in:
badaix 2017-11-05 13:24:26 +01:00
parent 8645643a16
commit c9b0a15dc0
7 changed files with 30 additions and 33 deletions

View file

@ -113,6 +113,7 @@ void PipeStream::worker()
if (!active_) break;
/// TODO: use less raw pointers, make this encoding more transparent
encoder_->encode(chunk.get());
if (!active_) break;