summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorWilliam Light <wrl@illest.net>2013-10-08 19:18:13 +0200
committerwm4 <wm4@nowhere>2013-10-08 20:03:57 +0200
commit16450fab3f26823fe5f04121e7087e7c9f9f8c70 (patch)
treeac837ad997b5f00f13133bffa486059867acec81 /video
parent5c3abb90822da7f541701f295f255b042455462a (diff)
downloadmpv-16450fab3f26823fe5f04121e7087e7c9f9f8c70.tar.bz2
mpv-16450fab3f26823fe5f04121e7087e7c9f9f8c70.tar.xz
mp_ring: fix mp_ring_read_cb() when read wraps around
previously, mp_ring_read_cb() would allow reading past the end of the ringbuffer when buffered > available. mp_ring_read() had logic for splitting the read into two, which I duplicated into mp_ring_read_cb().
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions