simplify boolean expressions (#1130)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2023-09-06 12:16:59 -07:00
committed by GitHub
parent 54f84cc924
commit 912897cd35
3 changed files with 4 additions and 4 deletions

View File

@ -309,7 +309,7 @@ List<Ogg::Page *> Ogg::Page::paginate(const ByteVectorList &packets,
streamSerialNumber,
pageIndex,
continued,
lastSplit && (lastPacketInList ? lastPacketCompleted : true),
lastSplit && (!lastPacketInList || lastPacketCompleted),
lastSplit && (containsLastPacket && lastPacketInList)));
pageIndex++;
continued = true;