1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
mpv/stream
wm4 3bbb6078a5 stream: rewrite url escaping/unescaping functions
The original functions come from 24c6f11c8b, which says that these
functions were copied from another project. This other project is GPL
and was written by an unknown author, so there is no hope to relicense
them to LGPL.

Replace the existing functions with code written by Avi Halachmi. He did
not see the old code, but wrote it based on the function signature and
an extended description of what they should do (http://sprunge.us/edia).
Some additional help was provided by me (in particular the function of
the "ok" parameter and how to implement it - not in the original
ASFRecorder code).

Some of the code is hilariously similar, but these are coincidences. The
name of the variable "c" probably "leaked" from me, but "o" is a true
coincidence.

The code was integrated by me - my only change is changing the function
names to the old ones, moving the order of the top-level declarations,
and changing "default_ok" to "url_default_ok", and changing the strings
from char* to char[].

The author of the new code is Avi Halachmi.
2017-06-13 19:57:00 +02:00
..
ai_alsa1x.c
ai_oss.c
ai_sndio.c
audio_in.c
audio_in.h
cache_file.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
cache.c cache: move duplicated condition to a function 2017-05-15 16:02:48 +02:00
cookies.c cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
cookies.h cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
dvb_tune.c dvb: add support for DVB-T2 2017-03-06 16:12:27 +01:00
dvb_tune.h dvb: add support for DVB-T2 2017-03-06 16:12:27 +01:00
dvbin.h dvb: add support for DVB-T2 2017-03-06 16:12:27 +01:00
frequencies.c
frequencies.h
rar.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
rar.h
stream_avdevice.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_bluray.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_cb.c stream_cb: don't add "*://" to protocol list 2016-09-10 15:35:22 +02:00
stream_cdda.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_dvb.c dvb: add support for DVB-T2 2017-03-06 16:12:27 +01:00
stream_dvd_common.c
stream_dvd_common.h
stream_dvd.c stream_dvd: fix subs/audio detection on DVDs containing multi-PGC titles 2017-03-15 02:54:18 +01:00
stream_dvdnav.c stream/stream_dvdnav: show list of titles on verbose 2017-03-29 02:19:09 +01:00
stream_edl.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_file.c stream_file: change license to LGPL 2017-05-11 08:14:48 +02:00
stream_lavf.c stream_lavf: add support for data URIs 2017-01-25 15:40:56 +00:00
stream_libarchive.c stream_libarchive: add some more points at which reading can be stopped 2016-10-01 18:19:57 +02:00
stream_libarchive.h libarchive: unify entry iteration between stream/demux layers 2016-07-18 12:44:56 +02:00
stream_memory.c stream_memory: disable stream cache 2016-08-26 13:33:38 +02:00
stream_mf.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_null.c stream_null: change license to LGPL 2017-05-08 12:45:50 +02:00
stream_rar.c
stream_smb.c stream_smb: disable by default, mark as GPLv3 2017-05-11 08:19:02 +02:00
stream_tv.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream.c stream: rewrite url escaping/unescaping functions 2017-06-13 19:57:00 +02:00
stream.h stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
tv.c tv: Zero-out newly-allocated handle in tv_new_handle() 2017-02-05 14:20:27 +01:00
tv.h tv: fix option type 2016-11-22 15:54:45 +01:00
tvi_def.h
tvi_dummy.c tvi_dummy: don't return bad dummy PTS 2017-02-02 08:51:40 +01:00
tvi_v4l2.c tvi_v4l2: fix style in the uninit function 2016-08-05 10:08:57 +02:00