From 676a93f2d86d704ab6a973a19000e265c14e37d5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 10 Dec 2015 20:59:40 +0100 Subject: avformat: Add av_program_add_stream_index() This will be used by the subsequent commit(s) Signed-off-by: Michael Niedermayer --- libavformat/avformat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/avformat.h') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 36f9d029b9..ddf07b1bf0 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2114,6 +2114,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options); */ 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 -- cgit v1.2.3