diff options
| author | Mooneer Salem <[email protected]> | 2023-07-13 01:07:32 -0700 |
|---|---|---|
| committer | Mooneer Salem <[email protected]> | 2023-07-13 01:54:30 -0700 |
| commit | 50736aa64ea6a500b9d634a28ce7708431648aaa (patch) | |
| tree | b1b1c507dde4561297e83146e05d31102d1ec5c3 /src/fdmdv_mod.c | |
| parent | 141f3862d7269ed0c8c3cd47ceeb7b438b0b7b51 (diff) | |
Apply codec2 PR #405 to this tree instead.ms-warning-cleanup-2
Diffstat (limited to 'src/fdmdv_mod.c')
| -rw-r--r-- | src/fdmdv_mod.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fdmdv_mod.c b/src/fdmdv_mod.c index b47c543..a87958f 100644 --- a/src/fdmdv_mod.c +++ b/src/fdmdv_mod.c @@ -46,7 +46,6 @@ int main(int argc, char *argv[]) int *tx_bits; COMP tx_fdm[2*FDMDV_NOM_SAMPLES_PER_FRAME]; short tx_fdm_scaled[2*FDMDV_NOM_SAMPLES_PER_FRAME]; - int frames; int i, bit, byte; int sync_bit; int bits_per_fdmdv_frame; @@ -105,10 +104,7 @@ int main(int argc, char *argv[]) foff_phase_rect.real = 1.0; foff_phase_rect.imag = 0.0; #endif - frames = 0; - while(fread(packed_bits, sizeof(char), bytes_per_codec_frame, fin) == bytes_per_codec_frame) { - frames++; /* unpack bits, MSB first */ |
