diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-15 06:08:44 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-15 06:08:44 +0300 |
commit | a47ef5fed65ede96ad411fdebfa910feb6a3bb4e (patch) | |
tree | b3b1b65d36258a77bbed626b9d04c4ee93157425 /subreader.c | |
parent | c1c68a6914e54a16ad99dcc60833210fca4bb64a (diff) | |
download | mpv-a47ef5fed65ede96ad411fdebfa910feb6a3bb4e.tar.bz2 mpv-a47ef5fed65ede96ad411fdebfa910feb6a3bb4e.tar.xz |
ad_pcm: don't rely on demux packets staying valid
Change ad_pcm to copy input packet data into an internal buffer
instead of relying on the packet still existing at the next decode()
call. The extra memcpy could be avoided by improving the demuxer API a
bit but I don't feel like implementing that now. Also add a
ADCTRL_RESYNC_STREAM handler to drop buffered data from previous
stream position.
Diffstat (limited to 'subreader.c')
0 files changed, 0 insertions, 0 deletions