diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-20 18:52:38 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-20 18:52:38 +0100 |
commit | 3aa6208db9666c0f1351855262d8c839002d9de1 (patch) | |
tree | e65953de8f56fdb4f063173435599d052926effc /libavformat/hls.c | |
parent | 9461e4bc694b8d95d4224226b9781f8166d969b1 (diff) | |
download | ffmpeg-3aa6208db9666c0f1351855262d8c839002d9de1.tar.gz |
lavf: Constify AVInputFormat pointer.
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |