summaryrefslogtreecommitdiffstats
path: root/demux/demux_lavf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r--demux/demux_lavf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index fd3a38ea89..ddec27f66d 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -707,7 +707,8 @@ static int demux_open_lavf(demuxer_t *demuxer, enum demux_check check)
}
if ((priv->avif->flags & AVFMT_NOFILE) ||
- demuxer->stream->type == STREAMTYPE_AVDEVICE)
+ demuxer->stream->type == STREAMTYPE_AVDEVICE ||
+ matches_avinputformat_name(priv, "hls"))
{
// This might be incorrect.
demuxer->seekable = true;