mirror of
https://github.com/godotengine/godot.git
synced 2024-12-01 16:42:26 +00:00
7ca66462ac
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
|
||
---|---|---|
.. | ||
doc_classes | ||
audio_stream_ogg_vorbis.cpp | ||
audio_stream_ogg_vorbis.h | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
resource_importer_ogg_vorbis.cpp | ||
resource_importer_ogg_vorbis.h | ||
SCsub |