avformat/hls: improve comment

Signed-off-by: vectronic <hello.vectronic@gmail.com>
pull/391/head
vectronic 4 months ago committed by Steven Liu
parent 380a518c43
commit 7f51cf75c6
  1. 2
      libavformat/hls.c

@ -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…
Cancel
Save