Skip to content

Commit 1c2709f

Browse files
Compare scramout with scramout1, not itself, in test_scramble for IL2P
1 parent 390d4a8 commit 1c2709f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/il2p_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static void test_scramble(void)
120120
unsigned char scramout[sizeof(scramin1)];
121121

122122
il2p_scramble_block (scramin1, scramout, sizeof(scramin1));
123-
assert (memcmp(scramout, scramout, sizeof(scramout1)) == 0);
123+
assert (memcmp(scramout, scramout1, sizeof(scramout1)) == 0);
124124

125125
} // end test_scramble.
126126

@@ -974,4 +974,4 @@ alevel_t demod_get_audio_level (int chan, int subchan)
974974
return (alevel);
975975
}
976976

977-
// end il2p_test.c
977+
// end il2p_test.c

0 commit comments

Comments
 (0)