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(1, last);
|
||||||
bitwriter.writebits(7, (int)MetadataType.Padding);
|
bitwriter.writebits(7, (int)MetadataType.Padding);
|
||||||
bitwriter.writebits(24, (int)padlen);
|
bitwriter.writebits(24, (int)padlen);
|
||||||
|
bitwriter.flush();
|
||||||
return (int)padlen + 4;
|
return (int)padlen + 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1949,6 +1949,7 @@ new int[] { // 30
|
|||||||
bitwriter.writebits(7, (int)MetadataType.Padding);
|
bitwriter.writebits(7, (int)MetadataType.Padding);
|
||||||
bitwriter.writebits(24, padlen);
|
bitwriter.writebits(24, padlen);
|
||||||
|
|
||||||
|
bitwriter.flush();
|
||||||
return padlen + 4;
|
return padlen + 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user