diff options
author | William Light <wrl@illest.net> | 2013-10-08 19:18:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-08 20:03:57 +0200 |
commit | 16450fab3f26823fe5f04121e7087e7c9f9f8c70 (patch) | |
tree | ac837ad997b5f00f13133bffa486059867acec81 /video | |
parent | 5c3abb90822da7f541701f295f255b042455462a (diff) | |
download | mpv-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