X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhls.c;h=2d4ee137ad4e00d30d72cd7c42dc58b90566be5a;hb=74b8fa103d6345c0859434447b0a66aaf5608bd0;hp=ccae270b265183f3148ebdb5f388b8881dc20544;hpb=7c4d405d404cceba1e071200bd732709b917ea4f;p=ffmpeg diff --git a/libavformat/hls.c b/libavformat/hls.c index ccae270b265..2d4ee137ad4 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1668,7 +1668,7 @@ static int hls_read_header(AVFormatContext *s) for (k = 0; k < pls->ctx->nb_streams; k++) { struct AVStream *st = s->streams[pls->stream_offset + k]; - ff_program_add_stream_index(s, i, pls->stream_offset + k); + av_program_add_stream_index(s, i, pls->stream_offset + k); /* Set variant_bitrate for streams unique to this variant */ if (!is_shared && v->bandwidth)