Loading scripts/cut_bs.py +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ def cut_to_length(fp, fp_out, length): for f in range(length): sync_word = fp.read(2) if sync_word == b"": return (fr_cnt, cut_cnt) return fr_cnt if sync_word not in SYNC_WORDS: raise ValueError("Bad Sync word!") n_bits_bs = fp.read(2) Loading Loading
scripts/cut_bs.py +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ def cut_to_length(fp, fp_out, length): for f in range(length): sync_word = fp.read(2) if sync_word == b"": return (fr_cnt, cut_cnt) return fr_cnt if sync_word not in SYNC_WORDS: raise ValueError("Bad Sync word!") n_bits_bs = fp.read(2) Loading