(FSB5): fixed Ogg conversion.

This commit is contained in:
morkt 2022-04-30 23:40:21 +04:00
parent 01cde832d8
commit 911efef9b9

View File

@ -208,7 +208,7 @@ namespace GameRes.Formats.Vorbis
GranuleVals[LacingFill + i] = GranulePos;
}
LacingVals[LacingFill + i] = bytes % 0xFF;
GranulePos = GranuleVals[LacingFill+i] = GranulePos;
GranulePos = GranuleVals[LacingFill+i] = op.GranulePos;
// flag the first segment as the beginning of the packet
LacingVals[LacingFill] |= 0x100;