Due to a bug in one of the recent commits, Flake/FLACCL were generating invalid files

This commit is contained in:
Grigory Chudov
2013-03-28 22:17:03 -04:00
parent 6066e226c6
commit 0da8f36797
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
}