API changes, most recent first:
+2015-12-11 - xxxxxxx - lavf 57.20.100 - avformat.h
+ Add av_program_add_stream_index()
+
2015-11-29 - xxxxxxx - lavc 57.16.101 - avcodec.h
Deprecate rtp_callback without replacement, i.e. it won't be possible to
get image slices before the full frame is encoded any more. The libavformat
*/
AVProgram *av_find_program_from_stream(AVFormatContext *ic, AVProgram *last, int s);
+void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx);
+
/**
* Find the "best" stream in the file.
* The best stream is determined according to various heuristics as the most
for (k = 0; k < pls->ctx->nb_streams; k++) {
struct AVStream *st = s->streams[pls->stream_offset + k];
- ff_program_add_stream_index(s, i, pls->stream_offset + k);
+ av_program_add_stream_index(s, i, pls->stream_offset + k);
/* Set variant_bitrate for streams unique to this variant */
if (!is_shared && v->bandwidth)
*/
int ff_hex_to_data(uint8_t *data, const char *p);
-void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx);
-
/**
* Add packet to AVFormatContext->packet_buffer list, determining its
* interleaved position using compare() function argument.
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)
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;
}
return chapter;
}
-void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned idx)
+void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned idx)
{
int i, j;
AVProgram *program = NULL;
#include "libavutil/version.h"
#define LIBAVFORMAT_VERSION_MAJOR 57
-#define LIBAVFORMAT_VERSION_MINOR 19
+#define LIBAVFORMAT_VERSION_MINOR 20
#define LIBAVFORMAT_VERSION_MICRO 100
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \