summaryrefslogtreecommitdiff
path: root/gr-dtv
diff options
context:
space:
mode:
authorRon Economos <w6rz@comcast.net>2019-06-23 01:50:03 -0700
committerMartin Braun <martin.braun@ettus.com>2019-07-05 19:35:21 -0700
commit490b46dfb252b2d8a59216c76e521cdb0faf89db (patch)
treee07a04a3b86f0d8ceaab1d953a4524f6d52ffec1 /gr-dtv
parent2f2bdff97b2ec90672dd76d3f5a40eb6eb9d4efb (diff)
dtv: Remove superfluous set_relative_rate() in DVB-T inner coder.
Also remove assert that was failing for 7/8 rate on debug builds.
Diffstat (limited to 'gr-dtv')
-rw-r--r--gr-dtv/lib/dvbt/dvbt_inner_coder_impl.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.cc b/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.cc
index c2fe76a66f..19eec4e350 100644
--- a/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.cc
+++ b/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2015,2016 Free Software Foundation, Inc.
+ * Copyright 2015,2016,2019 Free Software Foundation, Inc.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -159,11 +159,6 @@ namespace gr {
// Set output items multiple of 4
set_output_multiple(4);
- // Set relative rate out/in
- assert((d_noutput * d_k * d_m) % (d_ninput * 8 * d_n) == 0);
- set_relative_rate((uint64_t)(d_ninput * 8 * d_n),
- (uint64_t)(d_noutput * d_k * d_m));
-
// calculate in and out block sizes
d_in_bs = (d_k * d_m) / 2;
d_out_bs = 4 * d_n;