diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-10 20:59:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-11 22:27:25 +0100 |
commit | 676a93f2d86d704ab6a973a19000e265c14e37d5 (patch) | |
tree | 1aa091327bf6f9fc8e3c71de096d790c58548ce8 /libavformat/mpegts.c | |
parent | 5f55be70056829852351ff07e736d8e8ae694325 (diff) | |
download | ffmpeg-676a93f2d86d704ab6a973a19000e265c14e37d5.tar.gz |
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/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 4a6a5e5e85..7a905a44e9 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1958,7 +1958,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len add_pid_to_pmt(ts, h->id, pid); - ff_program_add_stream_index(ts->stream, h->id, st->index); + av_program_add_stream_index(ts->stream, h->id, st->index); desc_list_len = get16(&p, p_end); if (desc_list_len < 0) @@ -1975,7 +1975,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len if (pes && prog_reg_desc == AV_RL32("HDMV") && stream_type == 0x83 && pes->sub_st) { - ff_program_add_stream_index(ts->stream, h->id, + av_program_add_stream_index(ts->stream, h->id, pes->sub_st->index); pes->sub_st->codec->codec_tag = st->codec->codec_tag; } |