mirror of https://github.com/FFmpeg/FFmpeg.git
So far, aviocontexts are used either in pure-read or pure-write mode - full read/write mode doesn't work well (and implementing it is a much larger, not totally trivial change). This patch allows using avio_read and ffio_read_partial on read/write aviocontexts, where the read operations are passed through directly unbuffered, while writes are buffered as usual. This is enough to support the operations needed by packet based data transfer like in udp/rtp, where aviocontext is the only public API for hooking up custom IO. Signed-off-by: Martin Storsjö <martin@martin.st>pull/8/head
parent
3048fae63c
commit
a0b7e28907
1 changed files with 8 additions and 1 deletions
Loading…
Reference in new issue