diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-01 22:57:36 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-03 15:14:09 +0200 |
commit | a0b7e289075dccf223b7f407790d8a86fc5d77e8 (patch) | |
tree | 0fa029b5f1e43561ff13358374a81f2ce4a54b8f /libavcodec/flacdec.c | |
parent | 3048fae63c990356f850bcabd9bb65a71faf6b0a (diff) | |
download | ffmpeg-a0b7e289075dccf223b7f407790d8a86fc5d77e8.tar.gz |
aviobuf: Partial support for reading in read/write contexts
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>
Diffstat (limited to 'libavcodec/flacdec.c')
0 files changed, 0 insertions, 0 deletions