projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2723c3f
)
PFB resampler: fixes bug where filter could be looking past the number of inputs.
author
Tom Rondeau
<trondeau@vt.edu>
Sun, 12 Dec 2010 18:22:40 +0000
(13:22 -0500)
committer
Tom Rondeau
<trondeau@vt.edu>
Sun, 12 Dec 2010 18:22:40 +0000
(13:22 -0500)
gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
patch
|
blob
|
history
diff --git
a/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
b/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
index 2c5e3a7af56242e595e057a7503de3d940cbf9ce..3752603a0930af3fe902b9f18902c8232163a401 100644
(file)
--- a/
gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
+++ b/
gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
@@
-178,7
+178,7
@@
gr_pfb_arb_resampler_ccf::general_work (int noutput_items,
j = d_last_filter;
// produce output as long as we can and there are enough input samples
- while((i < noutput_items) && (count < ninput_items[0]-
1
)) {
+ while((i < noutput_items) && (count < ninput_items[0]-
d_taps_per_filter
)) {
// start j by wrapping around mod the number of channels
while((j < d_int_rate) && (i < noutput_items)) {