mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Another Flake optimization
This commit is contained in:
@@ -1060,8 +1060,8 @@ namespace CUETools.Codecs.FLACCL
|
||||
void output_frame_footer(FlacFrame frame)
|
||||
{
|
||||
frame.writer.flush();
|
||||
ushort crc = Crc16.ComputeChecksum(0, frame.writer.Buffer, frame.writer_offset, frame.writer.Length - frame.writer_offset);
|
||||
frame.writer.writebits(16, crc);
|
||||
ushort crc = frame.writer.get_crc16();
|
||||
frame.writer.writebits(16, crc);
|
||||
frame.writer.flush();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user