mpv/stream
reimar a37b71dc32 cache: call stream read with at least sector size space
Ensure we always pass a buffer of at least sector size to the read
function. This is never an issue with streams that have actual
sectors, as the reads will always return a multiple of sector size and
the cache is always used in blocks of sector size. However the rtp
protocol misuses this so it can just assume it always has a
sufficiently large buffer available and thus fails without this extra
hack.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33120 b3059339-0415-0410-9bf9-f77b7e298cf2
2011-05-01 16:29:57 +03:00
..
freesdp cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
librtsp cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
realrtsp fix compilation with old FFmpeg versions 2011-02-08 19:07:10 +02:00
ai_alsa.c
ai_alsa1x.c
ai_oss.c
asf_mmst_streaming.c
asf_mmst_streaming.h
asf_streaming.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
audio_in.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
audio_in.h
cache2.c cache: call stream read with at least sector size space 2011-05-01 16:29:57 +03:00
cache2.h terminal output: show cache fill changes in "PAUSED" message 2011-02-15 18:35:34 +02:00
cdd.h
cdinfo.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
cookies.c
cookies.h
dvb_tune.c
dvb_tune.h
dvbin.h
frequencies.c
frequencies.h
http.c fix compilation with old FFmpeg versions 2011-02-08 19:07:10 +02:00
http.h stream/: delete base64_encode(), use libavutil av_base64_encode() 2010-12-16 05:16:50 +02:00
network.c stream: http: Allow setting custom http header 2011-04-13 03:17:05 +03:00
network.h stream: http: Allow setting custom http header 2011-04-13 03:17:05 +03:00
open.c
pnm.c
pnm.h
pvr.h
rtp.c
rtp.h
stream.c stream: try to reset stream once if read fails 2011-04-12 19:21:23 +03:00
stream.h stream.h: check against huge negative values in stream_seek() 2010-12-16 06:22:19 +02:00
stream_bluray.c
stream_cdda.c
stream_cddb.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_cue.c
stream_dvb.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_dvd.c stream_dvd: fill_buffer(): use given buffer, not stream's default 2010-11-08 18:05:11 +02:00
stream_dvd.h
stream_dvd_common.c
stream_dvd_common.h
stream_dvdnav.c stream_dvdnav: output ID_DVD_VOLUME_ID also for dvdnav:// 2011-04-13 03:17:05 +03:00
stream_dvdnav.h
stream_ffmpeg.c stream: Make stream_write_buffer() check for short writes 2011-04-12 18:23:43 +03:00
stream_file.c stream: Make stream_write_buffer() check for short writes 2011-04-12 18:23:43 +03:00
stream_ftp.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_live555.c
stream_mf.c
stream_nemesi.c
stream_netstream.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_netstream.h
stream_null.c
stream_pvr.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_radio.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_radio.h
stream_rtp.c
stream_rtsp.c
stream_smb.c stream: Make stream_write_buffer() check for short writes 2011-04-12 18:23:43 +03:00
stream_tv.c
stream_udp.c
stream_vcd.c
stream_vstream.c
tcp.c
tcp.h
tv.c cleanup: remove unused MEncoder-related code 2011-01-25 02:29:31 +02:00
tv.h
tvi_bsdbt848.c
tvi_def.h
tvi_dshow.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
tvi_dshow.h
tvi_dummy.c
tvi_v4l.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
tvi_v4l2.c stream/tvi_v4l2.c: simplify by using getfps helper function 2011-01-31 16:03:10 +02:00
udp.c
udp.h
url.c stream/url.c: escape characters >= 127 in URLs 2011-02-15 18:47:55 +02:00
url.h stream/http: Add support for login/password in http_proxy env variable 2010-12-16 05:19:17 +02:00
vcd_read.h
vcd_read_darwin.h
vcd_read_fbsd.h
vcd_read_os2.h
vcd_read_win32.h