]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hls.c
lavf: Constify AVInputFormat pointer.
[ffmpeg] / libavformat / hls.c
index 8975a87153b402b4ef9120e32dd87cead4083151..0721b403efa3e41c1813f3181a094f771ef5f5e2 100644 (file)
@@ -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);