]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hls.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavformat / hls.c
index b589ad28704cc16157a85492cee971b05dd08f48..83acbb0aa6ad08f511221d16534fa94a91bb0097 100644 (file)
@@ -1957,8 +1957,8 @@ 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];
+        const AVInputFormat *in_fmt = NULL;
         char *url;
-        ff_const59 AVInputFormat *in_fmt = NULL;
 
         if (!(pls->ctx = avformat_alloc_context())) {
             ret = AVERROR(ENOMEM);