aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-03-15 23:14:07 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-03-15 23:14:07 +0000
commit588af13feec4c56dc2a1089420b5d7cf8e13e762 (patch)
tree5aa486fa1c745b6af8330274e850d807ff4fc75d
parent48b2ef95b3411dc55cd6dae25c93b841d73db17e (diff)
downloadffmpeg-588af13feec4c56dc2a1089420b5d7cf8e13e762.tar.gz
rename av_program_add_stream_index to ff_program_add_stream_index
it is an internal function, not part of public API Originally committed as revision 22561 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/internal.h2
-rw-r--r--libavformat/mpegts.c4
-rw-r--r--libavformat/utils.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 29b80c47e8..43ad67dc44 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -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
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 2951bb7364..0a49ed9d68 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -928,7 +928,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
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 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
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;
}
}
diff --git a/libavformat/utils.c b/libavformat/utils.c
index b952bcf05c..8d92d02032 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2915,7 +2915,7 @@ fail:
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;