Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: fix crash with unsupported MP4 files
aac_frame_decode returns NULL on failure. decodeMP4file should consequently NULL-check NeAACDecDecode's return pointer before doing anything with it. Not doing so leads to undefined behavior (division by zero, NULL pointer dereference, etc.) add missing NULL-check. fixes #13.
- Loading branch information