mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Due to a bug in one of the recent commits, Flake/FLACCL were generating invalid files
This commit is contained in:
@@ -2119,7 +2119,7 @@ namespace CUETools.Codecs.FLACCL
|
||||
bitwriter.writebits(1, last);
|
||||
bitwriter.writebits(7, (int)MetadataType.Padding);
|
||||
bitwriter.writebits(24, (int)padlen);
|
||||
|
||||
bitwriter.flush();
|
||||
return (int)padlen + 4;
|
||||
}
|
||||
|
||||
|
||||
@@ -1949,7 +1949,8 @@ new int[] { // 30
|
||||
bitwriter.writebits(7, (int)MetadataType.Padding);
|
||||
bitwriter.writebits(24, padlen);
|
||||
|
||||
return padlen + 4;
|
||||
bitwriter.flush();
|
||||
return padlen + 4;
|
||||
}
|
||||
|
||||
int write_headers()
|
||||
|
||||
Reference in New Issue
Block a user