summaryrefslogtreecommitdiffstats
path: root/libavformat/hls.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-20 18:52:38 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-20 18:52:38 +0100
commit3aa6208db9666c0f1351855262d8c839002d9de1 (patch)
treee65953de8f56fdb4f063173435599d052926effc /libavformat/hls.c
parent9461e4bc694b8d95d4224226b9781f8166d969b1 (diff)
downloadffmpeg-streaming-3aa6208db9666c0f1351855262d8c839002d9de1.zip
ffmpeg-streaming-3aa6208db9666c0f1351855262d8c839002d9de1.tar.gz
lavf: Constify AVInputFormat pointer.
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r--libavformat/hls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8975a87..0721b40 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);
OpenPOWER on IntegriCloud