mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/hls: improve comment
Signed-off-by: vectronic <hello.vectronic@gmail.com>
This commit is contained in:
parent
380a518c43
commit
7f51cf75c6
|
@ -2502,7 +2502,7 @@ static int hls_read_seek(AVFormatContext *s, int stream_index,
|
||||||
pb->eof_reached = 0;
|
pb->eof_reached = 0;
|
||||||
/* Clear any buffered data */
|
/* Clear any buffered data */
|
||||||
pb->buf_end = pb->buf_ptr = pb->buffer;
|
pb->buf_end = pb->buf_ptr = pb->buffer;
|
||||||
/* Reset the pos, to let the mpegts demuxer know we've seeked. */
|
/* Reset the pos, to let the mpegts/mov demuxer know we've seeked. */
|
||||||
pb->pos = 0;
|
pb->pos = 0;
|
||||||
/* Flush the packet queue of the subdemuxer. */
|
/* Flush the packet queue of the subdemuxer. */
|
||||||
ff_read_frame_flush(pls->ctx);
|
ff_read_frame_flush(pls->ctx);
|
||||||
|
|
Loading…
Reference in New Issue