aviobuf: Discard old buffered, previously read data in ffio_read_partial
authorMartin Storsjö <martin@martin.st>
Tue, 1 Jan 2013 22:25:37 +0000 (00:25 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 3 Jan 2013 13:17:10 +0000 (15:17 +0200)
commit53c25ee0736497b46bb76064cc2c84c976b2d295
treea37c9fe8af49027d0cd2fa389e93f849a0b7b8af
parente96406eda4f143f101bd44372f7b2d542183000a
aviobuf: Discard old buffered, previously read data in ffio_read_partial

This makes RTP custom IO work properly with pure read-only
AVIOContexts as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/aviobuf.c