godot/modules/vorbis
Michael Wörner e1421715e8
Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream.
A zero-length memcpy into a null pointer itself does not fail, but for gcc with optimizations, this can cause incorrect code to be generated further down the line since the pointer is then assumed to be non-null.
Now stripping zero-length packets and pages without packets from the OggPacketSequence during import. This prevents various warning and error messages for files that end on a zero-length packet.

(cherry picked from commit a4db4ae658)
2024-02-27 16:40:16 +01:00
..
doc_classes Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
SCsub
audio_stream_ogg_vorbis.cpp Only warn once about OGG seeking issues 2024-01-23 20:22:00 +01:00
audio_stream_ogg_vorbis.h Fix includes of thirdparty libs which can be unbundled on Linux 2023-02-16 15:52:13 +01:00
config.py
register_types.cpp
register_types.h
resource_importer_ogg_vorbis.cpp Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream. 2024-02-27 16:40:16 +01:00
resource_importer_ogg_vorbis.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00