From 3aa6208db9666c0f1351855262d8c839002d9de1 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 20 Mar 2019 18:52:38 +0100 Subject: lavf: Constify AVInputFormat pointer. --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/hls.c') diff --git a/libavformat/hls.c b/libavformat/hls.c index 8975a87153..0721b403ef 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1868,7 +1868,7 @@ static int hls_read_header(AVFormatContext *s) /* Open the demuxer for each playlist */ for (i = 0; i < c->n_playlists; i++) { struct playlist *pls = c->playlists[i]; - AVInputFormat *in_fmt = NULL; + ff_const59 AVInputFormat *in_fmt = NULL; if (!(pls->ctx = avformat_alloc_context())) { ret = AVERROR(ENOMEM); -- cgit v1.2.3