Skip to content

Improve robustness of handling malloc failures

Henrik Gramner requested to merge gramner/dav1d:malloc_failure into master

Calling dav1d_get_picture() again after it has already returned with an error due to a memory allocation failure could result in crashes.

Although doing so is not a proper API usage, and the outcome is going to be unpredictable, we should at least try to avoid crashing.

Merge request reports

Loading