[FFmpeg-devel] [PATCH 2/4] tty: disable extension matching
wm4
nfxjfg at googlemail.com
Thu Aug 8 01:04:37 CEST 2013
This demuxer isn't very useful and causes more trouble than it solves.
In psrticular, it matches .txt files too eagerly. It should be left to
the application what to do with text files, and ana pplication shouldn't
be forced to blacklist libavformat fringe demuxers.
---
libavformat/tty.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/tty.c b/libavformat/tty.c
index 3afb9b2..ec39687 100644
--- a/libavformat/tty.c
+++ b/libavformat/tty.c
@@ -155,6 +155,5 @@ AVInputFormat ff_tty_demuxer = {
.priv_data_size = sizeof(TtyDemuxContext),
.read_header = read_header,
.read_packet = read_packet,
- .extensions = "ans,art,asc,diz,ice,nfo,txt,vt",
.priv_class = &tty_demuxer_class,
};
--
1.8.4.rc1
More information about the ffmpeg-devel
mailing list