[FFmpeg-devel,1/5] avformat/tty: Remove .txt from the extensions as it more likely is not a multimedia related file

Submitted by Michael Niedermayer on May 12, 2018, 4:33 p.m.

Details

Message ID 20180512163329.18380-1-michael@niedermayer.cc
State New
Headers show

Commit Message

Michael Niedermayer May 12, 2018, 4:33 p.m.
Iam not sure if this is a good idea or not but it may make some
attacks harder. So throwing this out for discussions ...

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavformat/tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavformat/tty.c b/libavformat/tty.c
index 8d48f2c45c..8067dd1908 100644
--- a/libavformat/tty.c
+++ b/libavformat/tty.c
@@ -155,6 +155,6 @@  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",
+    .extensions     = "ans,art,asc,diz,ice,nfo,vt",
     .priv_class     = &tty_demuxer_class,
 };