From 79006ef66d10fb356782eed6d3b3cc103ae2ba4b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Feb 2015 21:11:49 +0100 Subject: 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. --- demux/demux_lavf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'demux') diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index ca7004c43b..020f73d41a 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -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"), -- cgit v1.2.3