Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2010-12-26 04:24:51 +0300
committerPeter Ross <pross@xvid.org>2010-12-26 04:24:51 +0300
commit141de5a9c141ab82ff453d4e9bb27fd4e25da1ea (patch)
tree8dae98ce91223df6b498e801551aa88a7402d4be /libavformat/internal.h
parent456a70aeb826b7b84d30cc3cc279fa7c65fc7d4e (diff)
add ff_find_stream_index
Originally committed as revision 26092 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index d723f0958f..b401d352cf 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -220,4 +220,10 @@ typedef void (*ff_parse_key_val_cb)(void *context, const char *key,
void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf,
void *context);
+/**
+ * Find stream index based on format-specific stream ID
+ * @return stream index, or < 0 on error
+ */
+int ff_find_stream_index(AVFormatContext *s, int id);
+
#endif /* AVFORMAT_INTERNAL_H */