projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005cd4a
)
Fixed off-by-one in DecoderStack::decode_proc
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 25 Jan 2014 13:27:41 +0000
(13:27 +0000)
committer
Bert Vermeulen
<bert@biot.com>
Sat, 25 Jan 2014 14:34:00 +0000
(15:34 +0100)
pv/data/decoderstack.cpp
patch
|
blob
|
history
diff --git
a/pv/data/decoderstack.cpp
b/pv/data/decoderstack.cpp
index b8eff67ffd02d0dc5ab018806b056b0c9849cf67..cb335be080adbd3b21611f0d3abeb1afe4a1dd73 100644
(file)
--- a/
pv/data/decoderstack.cpp
+++ b/
pv/data/decoderstack.cpp
@@
-172,7
+172,7
@@
void DecoderStack::decode_proc(shared_ptr<data::Logic> data)
const shared_ptr<pv::data::LogicSnapshot> &snapshot =
snapshots.front();
- const int64_t sample_count = snapshot->get_sample_count()
- 1
;
+ const int64_t sample_count = snapshot->get_sample_count();
const unsigned int chunk_sample_count =
DecodeChunkLength / snapshot->unit_size();