godot/modules/vorbis
Michael Wörner 7ca66462ac
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 15:45:39 +01:00
..
doc_classes Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
audio_stream_ogg_vorbis.cpp Fix OGG Vorbis infinite error spam with corrupt file. 2023-11-10 15:48:28 +00:00
audio_stream_ogg_vorbis.h Fix OGG audio loop offset pop. 2023-10-13 19:54:24 +01:00
config.py Document editor import options in the class reference 2023-06-15 08:30:48 +02:00
register_types.cpp Correctly register editor-only module classes with the API 2024-01-25 18:08:46 +01:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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 15:45:39 +01:00
resource_importer_ogg_vorbis.h Load OGGs from file system 2023-07-14 19:05:58 -07:00
SCsub Replace stb_vorbis with libogg+libvorbis 2021-09-09 19:39:04 -07:00