Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
demux/ebml: bump ebml size limit to 512 MiB
While the code before 571f9b0 had a typo and it was intended to be 100 MB, there are files that exceed this limit, like 147 MiB. Increase the limit to 512 MiB which should be more than enough for valid files. From quick look ffmpeg limits to 1<<8 bytes, so we should be good with our new limit. In theory this limit could be removed, but it is better to play the file, possibly with skipped some corrupted block of data, instead OOM. Fixes: 571f9b0
- Loading branch information