diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-07-13 10:25:39 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-07-13 10:25:39 +0200 |
commit | 9d9bcfa4f3fdb157ac85c29b9a7024ca9b0bddf8 (patch) | |
tree | 096206c061b1f234589ae44709ba0428a054ad08 /stream/tvi_def.h | |
parent | dc4dcf34e5a1c8e05e2c6667a0fe7a5bdb0ace7e (diff) | |
download | mpv-9d9bcfa4f3fdb157ac85c29b9a7024ca9b0bddf8.tar.bz2 mpv-9d9bcfa4f3fdb157ac85c29b9a7024ca9b0bddf8.tar.xz |
mp_ring: make mp_ring_read_cb provide an exact amount of bytes
The previous code would pass down `len` instead of `read_len` which, in theory,
could be more than what was available in the buffer.
Diffstat (limited to 'stream/tvi_def.h')
0 files changed, 0 insertions, 0 deletions