altos: fix comment about decoding last byte of FEC data
authorKeith Packard <keithp@keithp.com>
Sat, 23 Jun 2012 09:23:08 +0000 (02:23 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 23 Jun 2012 09:23:08 +0000 (02:23 -0700)
There aren't *any* forward bits to use when decoding the last byte.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_viterbi.c

index 1b1784b3d3b3e6abbc22939134b734200d5a9516..17464cd1df3fd94cbf3a80638e2d17890a9cd901 100644 (file)
@@ -120,9 +120,9 @@ ao_fec_decode(uint8_t *in, uint16_t len, uint8_t *out)
                p = n;
 
                /* A loop is needed to handle the last output byte. It
-                * won't have a full NUM_HIST bits of future data to
-                * perform full error correction, but we might as well
-                * give the best possible answer anyways.
+                * won't have any bits of future data to perform full
+                * error correction, but we might as well give the
+                * best possible answer anyways.
                 */
                while ((b - o) >= (8 + NUM_HIST) || (i + 2 >= len && b > o)) {