You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
fix next_ogg_packet never returning false
(cherry picked from commit 86a914575f)
This commit is contained in:
committed by
Rémi Verschelde
parent
9f4eac82a2
commit
360543361b
@@ -159,9 +159,7 @@ bool OggPacketSequencePlayback::next_ogg_packet(ogg_packet **p_packet) const {
|
|||||||
|
|
||||||
*p_packet = packet;
|
*p_packet = packet;
|
||||||
|
|
||||||
if (!packet->e_o_s) { // Added this so it doesn't try to go to the next packet if it's the last packet of the file.
|
packet_cursor++;
|
||||||
packet_cursor++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user