X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.cpp;h=8284c7937c7a7ee6a68f334a587bee7374e97fcb;hb=c1b2865ea8b10c4b41360b2fd1974a8bebaa0dea;hp=2344804fd1f17d2e2490f83fa6d8df9128084f12;hpb=1c5fb7593d34daeca31148eb48de4ff7a0c6aa05;p=pulseview.git diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index 2344804..8284c79 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -249,8 +249,7 @@ void DecoderStack::begin_decode() if (_samplerate == 0.0) _samplerate = 1.0; - _decode_thread = boost::thread(&DecoderStack::decode_proc, this, - data); + _decode_thread = boost::thread(&DecoderStack::decode_proc, this); } uint64_t DecoderStack::get_max_sample_count() const @@ -312,7 +311,7 @@ void DecoderStack::decode_data( new_decode_data(); } -void DecoderStack::decode_proc(shared_ptr data) +void DecoderStack::decode_proc() { optional sample_count; srd_session *session;