]> git.gag.com Git - debian/gnuradio/commitdiff
Applied patch from Dean Armstrong to fix gr_repeat (ticket:246).
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Tue, 10 Jun 2008 15:48:12 +0000 (15:48 +0000)
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Tue, 10 Jun 2008 15:48:12 +0000 (15:48 +0000)
The QA code was not updated to detect the bug and should still be sorted out.

git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8568 221aa14e-8319-0410-a670-987f0aec2ac5

gnuradio-core/src/lib/general/gr_repeat.cc

index aa1e17701d4dd19e1f4ddbd5cf76bf9900312630..70bb44e5a5d8460ce0b4045239e0032aabb99286 100644 (file)
@@ -62,7 +62,7 @@ gr_repeat::work(int noutput_items,
       out += d_itemsize;
     }
 
-    i += d_itemsize;
+    in += d_itemsize;
   }
 
   return noutput_items;