1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/stream
wm4 a2098326da network: fix crash with -playlist http://...
The function fixup_network_stream_cache() accesses stream->opts, which
is NULL in some cases when loading playlists. stream->opts is a pointer
to the global MPOpts struct. For simplicity, this parameter is left
NULL in some cases. Usually, this doesn't matter, because barely
anything in stream/ uses MPOpts anyway.

Hack-fix this for now by not accessing MPOpts and disabling the stream
cache in this case. Calling open_stream() with options==NULL now
basically means: do not use cache settings.
2012-11-14 00:46:15 +01:00
..
ai_alsa1x.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
ai_oss.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
asf_mmst_streaming.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
asf_mmst_streaming.h
asf_streaming.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
audio_in.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
audio_in.h
cache2.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
cache2.h
cdd.h
cdinfo.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
cookies.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
cookies.h
dvb_tune.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
dvb_tune.h
dvbin.h
frequencies.c
frequencies.h
http.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
http.h
network.c network: fix crash with -playlist http://... 2012-11-14 00:46:15 +01:00
network.h stream: http: Allow setting custom http header 2011-04-13 03:17:05 +03:00
pvr.h
stream_bluray.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_cdda.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_cddb.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_dvb.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_dvd_common.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_dvd_common.h
stream_dvd.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_dvd.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_file.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_ftp.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_lavf.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_mf.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_netstream.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_netstream.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_null.c
stream_pvr.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_radio.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_radio.h
stream_smb.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_tv.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_udp.c
stream_vcd.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_vstream.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tcp.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tcp.h
tv.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tv.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tvi_bsdbt848.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tvi_def.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tvi_dummy.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
tvi_v4l2.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
udp.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
udp.h
url.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
url.h stream: fix redirection for proxy URLs 2012-10-30 19:50:20 +01:00
vcd_read_darwin.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
vcd_read_fbsd.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
vcd_read_win32.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
vcd_read.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00