e1421715e8
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 | ||
SCsub | ||
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 |