Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resample/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3769,7 +3769,7 @@ def flac_rebuild_sample(self, srs_data, tracks, attachments, srs, out_file):
flac.write(b"fLaC")
crc = crc32(b"fLaC", crc)
fr.skip_contents()
elif (fr.block_type in bytearray(b"stu") and
elif (fr.block_type in (ord('s'), ord('t'), ord('u')) and
srs_flac_blocks <= 3):
srs_flac_blocks += 1
fr.skip_contents()
Expand Down