[FFmpeg-cvslog] r22561 - in trunk/libavformat: internal.h mpegts.c utils.c
aurel
subversion
Tue Mar 16 00:14:08 CET 2010
Author: aurel
Date: Tue Mar 16 00:14:07 2010
New Revision: 22561
Log:
rename av_program_add_stream_index to ff_program_add_stream_index
it is an internal function, not part of public API
Modified:
trunk/libavformat/internal.h
trunk/libavformat/mpegts.c
trunk/libavformat/utils.c
Modified: trunk/libavformat/internal.h
==============================================================================
--- trunk/libavformat/internal.h Tue Mar 16 00:11:02 2010 (r22560)
+++ trunk/libavformat/internal.h Tue Mar 16 00:14:07 2010 (r22561)
@@ -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
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c Tue Mar 16 00:11:02 2010 (r22560)
+++ trunk/libavformat/mpegts.c Tue Mar 16 00:14:07 2010 (r22561)
@@ -928,7 +928,7 @@ static void pmt_cb(MpegTSFilter *filter,
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,
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;
}
}
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Tue Mar 16 00:11:02 2010 (r22560)
+++ trunk/libavformat/utils.c Tue Mar 16 00:14:07 2010 (r22561)
@@ -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;
More information about the ffmpeg-cvslog
mailing list