1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 11:55:42 +00:00
mpv/common
wm4 a4b6bf8c41 player: refine rar:// playlist-safety handling
It was possible to make the player play local files by putting rar://
links into remote playlists, and some other potentially unsafe things.

Redo the handling of it. Now the rar-redirector (the thing in
demux_playlist.c) sets disable_safety, which makes the player open any
playlist entries returned. This is fine, because it redirects to the
same file anyway (just with different selection/interpretation of the
contents). On the other hand, rar:// itself is now considered fully
unsafe, which means that it is ignored if found in normal playlists.
2015-03-02 19:09:36 +01:00
..
av_common.c av_common: add comment about using now-deprecated libavcodec field 2015-01-30 15:57:40 +01:00
av_common.h player: print used number of threads in verbose mode 2015-01-05 12:17:55 +01:00
av_log.c player: drop explicit exit() calls 2015-02-12 17:28:22 +01:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
codecs.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
codecs.h codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
common.c Do not call strerror() 2014-11-26 21:21:56 +01:00
common.h Do not call strerror() 2014-11-26 21:21:56 +01:00
encode_lavc.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
encode_lavc.h encode: make option struct local 2014-06-11 02:05:07 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
msg_control.h options: change --msg-level option 2015-02-06 16:48:52 +01:00
msg.c msg: use relaxed atomics for log level test 2015-03-02 19:09:31 +01:00
msg.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
playlist.c demux: add a demux_open_url() function 2015-02-20 21:56:55 +01:00
playlist.h player: refine rar:// playlist-safety handling 2015-03-02 19:09:36 +01:00
tags.c player: don't set tag strings to NULL 2015-01-12 14:33:56 +01:00
tags.h player: filter tags, add --display-tags option 2014-12-29 22:51:18 +01:00
version.c common: fix version variable declarations 2014-11-02 17:38:07 +01:00