mirror of https://github.com/mpv-player/mpv
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:
parent
3f5b5b758d
commit
79006ef66d
|
@ -132,6 +132,9 @@ static const struct format_hack format_hacks[] = {
|
||||||
|
|
||||||
// Useless non-sense, sometimes breaks MLP2 subreader.c fallback
|
// Useless non-sense, sometimes breaks MLP2 subreader.c fallback
|
||||||
BLACKLIST("tty"),
|
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):
|
// Image demuxers, disabled in favor of demux_mf (for now):
|
||||||
BLACKLIST("image"),
|
BLACKLIST("image"),
|
||||||
BLACKLIST("image2pipe"),
|
BLACKLIST("image2pipe"),
|
||||||
|
|
Loading…
Reference in New Issue