Mercurial > libavformat.hg
changeset 5852:36b46032fad5 libavformat
rename av_program_add_stream_index to ff_program_add_stream_index
it is an internal function, not part of public API
author | aurel |
---|---|
date | Mon, 15 Mar 2010 23:14:07 +0000 |
parents | d88fc4640994 |
children | cf00e196666a |
files | internal.h mpegts.c utils.c |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/internal.h Mon Mar 15 23:04:09 2010 +0000 +++ b/internal.h Mon Mar 15 23:14:07 2010 +0000 @@ -26,7 +26,7 @@ char *ff_data_to_hex(char *buf, const uint8_t *src, int size); -void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); +void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); /** * Add packet to AVFormatContext->packet_buffer list, determining its
--- a/mpegts.c Mon Mar 15 23:04:09 2010 +0000 +++ b/mpegts.c Mon Mar 15 23:14:07 2010 +0000 @@ -928,7 +928,7 @@ add_pid_to_pmt(ts, h->id, pid); - av_program_add_stream_index(ts->stream, h->id, st->index); + ff_program_add_stream_index(ts->stream, h->id, st->index); desc_list_len = get16(&p, p_end) & 0xfff; if (desc_list_len < 0) @@ -993,7 +993,7 @@ p = desc_end; if (prog_reg_desc == AV_RL32("HDMV") && stream_type == 0x83 && pes->sub_st) { - av_program_add_stream_index(ts->stream, h->id, pes->sub_st->index); + ff_program_add_stream_index(ts->stream, h->id, pes->sub_st->index); pes->sub_st->codec->codec_tag = st->codec->codec_tag; } }
--- a/utils.c Mon Mar 15 23:04:09 2010 +0000 +++ b/utils.c Mon Mar 15 23:14:07 2010 +0000 @@ -2915,7 +2915,7 @@ return ret; } -void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx) +void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx) { int i, j; AVProgram *program=NULL;