OSDN Git Service

hls: Reset the AVIOContext when seeking
authorMartin Storsjö <martin@martin.st>
Fri, 20 Jan 2012 14:29:09 +0000 (16:29 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 20 Feb 2012 09:10:02 +0000 (11:10 +0200)
commita4f97be1a9ed80f47ca93ebfc5faaaba658250c9
tree0d199e37a45c495fbeecff3dadbfd1bae24e06dc
parent55fd7da10739bb0072664e5083d33f4778fd5413
hls: Reset the AVIOContext when seeking

This avoids reading any old data in the AVIOContext buffer after
the seek, and indicates to the mpegts demuxer that we've seeked,
avoiding continuity check errors.

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