1
mirror of https://github.com/mpv-player/mpv synced 2024-11-11 00:15:33 +01:00

demux_lavf: blacklist bintext files

Whatever the hell that is. FFmpeg tries to open any files with .bin file
extension with this demuxer (unless it finds a better demuxer), and then
reads the whole damn file, along with spamming dumb crap.
This commit is contained in:
wm4 2015-02-18 21:11:49 +01:00
parent 3f5b5b758d
commit 79006ef66d

View File

@ -132,6 +132,9 @@ static const struct format_hack format_hacks[] = {
// Useless non-sense, sometimes breaks MLP2 subreader.c fallback
BLACKLIST("tty"),
// Let's open files with extremely generic extensions (.bin) with a
// demuxer that doesn't have a probe function! NO.
BLACKLIST("bin"),
// Image demuxers, disabled in favor of demux_mf (for now):
BLACKLIST("image"),
BLACKLIST("image2pipe"),