Fix: check ogg_sync_buffer() pointer before writing to it
ogg_sync_buffer() can return NULL on several scenarios, the first one being if ogg_sync_check() fails, but it can also happen in case of an allocation failure, or internal bug.
Showing
ogg_sync_buffer() can return NULL on several scenarios, the first one being if ogg_sync_check() fails, but it can also happen in case of an allocation failure, or internal bug.
mentioned in merge request !2 (closed)
·