mpv/demux
wm4 a48a8a746e demux_libarchive: don't allow probing to read unlimited data
Instead, allow reading 2KB only. This seems to be sufficient for
libarchive to recognize zip, 7z, rar, tar. Good enough.

This is implemented by creating an in-memory stream with a copy of
the file header. If libarchive succeeds opening this, the actual
stream is opened.

Allowing unlimited reading could break unseekable streams, such as
playing from http servers with no range request support or pipes.

Also, we try not to read too much data in the first probe pass. Some
slow network streams like shoutcast services could make probing much
slower if we allow it to read too much. In the second probing pass,
actually allow 200KB.
2015-08-24 22:26:07 +02:00
..
codec_tags.c demux: mime types are case-insensitive 2015-06-21 18:21:21 +02:00
codec_tags.h
cue.c demux: get rid of some bstr things 2015-06-24 14:18:51 +02:00
cue.h demux: get rid of some bstr things 2015-06-24 14:18:51 +02:00
demux.c stream: provide a stream_get_size() convenience function 2015-08-18 00:10:54 +02:00
demux.h demux: remove redundant demux_chapter.name field 2015-08-12 11:11:23 +02:00
demux_cue.c demux: remove redundant demux_chapter.name field 2015-08-12 11:11:23 +02:00
demux_disc.c player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
demux_edl.c demux: remove redundant demux_chapter.name field 2015-08-12 11:11:23 +02:00
demux_lavf.c stream: provide a stream_get_size() convenience function 2015-08-18 00:10:54 +02:00
demux_libarchive.c demux_libarchive: don't allow probing to read unlimited data 2015-08-24 22:26:07 +02:00
demux_libass.c demux: merge extradata fields 2015-06-21 18:06:14 +02:00
demux_mf.c Update license headers 2015-04-13 12:10:01 +02:00
demux_mkv.c stream: provide a stream_get_size() convenience function 2015-08-18 00:10:54 +02:00
demux_mkv_timeline.c demux: remove redundant demux_chapter.name field 2015-08-12 11:11:23 +02:00
demux_playlist.c player: warn against using HLS URLs with --playlist 2015-08-04 17:51:00 +02:00
demux_rar.c demux: fix rar support for files containing DTS audio tracks 2015-03-24 21:29:09 +01:00
demux_raw.c demux: rename sh_stream.format to sh_stream.codec_tag 2015-06-21 16:56:35 +02:00
demux_subreader.c Various spelling fixes 2015-06-18 19:36:58 +02:00
demux_tv.c demux: rename sh_stream.format to sh_stream.codec_tag 2015-06-21 16:56:35 +02:00
ebml.c demux_mkv: allow integer and float elements with length 0 2015-06-24 14:34:05 +02:00
ebml.h Update license headers 2015-04-13 12:10:01 +02:00
matroska.h demux_mkv: remove indirection through defines 2015-06-19 21:41:57 +02:00
packet.c
packet.h Update license headers 2015-04-13 12:10:01 +02:00
stheader.h demux: export forced flag 2015-06-27 22:02:24 +02:00
timeline.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
timeline.h demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00