Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-10 22:59:40 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-12 00:27:25 +0300
commit676a93f2d86d704ab6a973a19000e265c14e37d5 (patch)
tree1aa091327bf6f9fc8e3c71de096d790c58548ce8 /libavformat/mpegts.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/mpegts.c')
-rw-r--r--libavformat/mpegts.c4
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;
}