summaryrefslogtreecommitdiff
path: root/libavformat/hls.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-10 20:59:40 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-11 22:27:25 +0100
commit676a93f2d86d704ab6a973a19000e265c14e37d5 (patch)
tree1aa091327bf6f9fc8e3c71de096d790c58548ce8 /libavformat/hls.c
parent5f55be70056829852351ff07e736d8e8ae694325 (diff)
avformat: Add av_program_add_stream_index()
This will be used by the subsequent commit(s) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
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 ccae270b26..2d4ee137ad 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)