diff options
Diffstat (limited to 'src/odr-sourcecompanion.cpp')
| -rw-r--r-- | src/odr-sourcecompanion.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odr-sourcecompanion.cpp b/src/odr-sourcecompanion.cpp index 81cc064..a37d0a5 100644 --- a/src/odr-sourcecompanion.cpp +++ b/src/odr-sourcecompanion.cpp @@ -403,11 +403,11 @@ int main(int argc, char *argv[])          if (numOutBytes != 0) {              try { -                // Drop the Reed-Solomon data                  if (numOutBytes % 120 != 0) {                      throw runtime_error("Invalid data length " + to_string(numOutBytes));                  } +                // Drop the Reed-Solomon data                  decoder.decode_frame(outbuf.data(), numOutBytes / 120 * 110);                  auto p = decoder.get_peaks();  | 
