summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-10 20:59:40 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-11 22:27:25 +0100
commit676a93f2d86d704ab6a973a19000e265c14e37d5 (patch)
tree1aa091327bf6f9fc8e3c71de096d790c58548ce8 /libavformat/avformat.h
parent5f55be70056829852351ff07e736d8e8ae694325 (diff)
avformat: Add av_program_add_stream_index()
This will be used by the subsequent commit(s) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 2 insertions, 0 deletions
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