Skip to content

Fix multiple allocation checks

This MR fixes a few missing or erroneous allocation check, and report the error back to the caller, either in the form of NULL, or by adding a VLC_ENOMEM return code.

Most of the missing allocation check were found using Coccinelle.

I removed half the demux/mp4 part since !4137 started fixing it.

Merge request reports

Loading