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
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 [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
register_types.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +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 16:40:16 +01:00
resource_importer_ogg_vorbis.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
SCsub Replace stb_vorbis with libogg+libvorbis 2021-09-09 19:39:04 -07:00