Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MAD Decoder] Don't crash on bad files
The local and seekable file scanner could crash on bad MPEG files if they failed to decode any frames and broke due to either end of file or other unrecoverable errors, due to a division by zero error attempting to calculate the file bitrate. Now correctly return error state if this occurs, bailing early. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
- Loading branch information