diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-25 14:50:50 +0200 |
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-25 14:50:50 +0200 |
| commit | aa402112b33975c5405b0dab29cbe57a2cd16e0b (patch) | |
| tree | 231840ff721d6b58d00d5cb533892817b2002e74 /src/odr-sourcecompanion.cpp | |
| parent | 1bb2b024b37087546533ed4d8c686213cd67e7b5 (diff) | |
| download | ODR-SourceCompanion-aa402112b33975c5405b0dab29cbe57a2cd16e0b.tar.gz ODR-SourceCompanion-aa402112b33975c5405b0dab29cbe57a2cd16e0b.tar.bz2 ODR-SourceCompanion-aa402112b33975c5405b0dab29cbe57a2cd16e0b.zip | |
Simplify OrderedQueue
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(); |
