Unified · Split
| @@ -2502,7 +2502,7 @@ static int hls_read_seek(AVFormatContext *s, int stream_index, · 2501 unmodified lines | |||
| 2502 | pb->eof_reached = 0; | 2502 | pb->eof_reached = 0; |
| 2503 | /* Clear any buffered data */ | 2503 | /* Clear any buffered data */ |
| 2504 | pb->buf_end = pb->buf_ptr = pb->buffer; | 2504 | pb->buf_end = pb->buf_ptr = pb->buffer; |
| 2505 | /* Reset the pos, to let the mpegts demuxer know we've seeked. */ | 2505 | /* Reset the pos, to let the mpegts/mov demuxer know we've seeked. */ |
| 2506 | pb->pos = 0; | 2506 | pb->pos = 0; |
| 2507 | /* Flush the packet queue of the subdemuxer. */ | 2507 | /* Flush the packet queue of the subdemuxer. */ |
| 2508 | ff_read_frame_flush(pls->ctx); | 2508 | ff_read_frame_flush(pls->ctx); |