summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-05-19 16:29:30 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-05-20 00:43:52 +0200
commitc23c96b638cbf6c489fd301e6b3d5555632fba37 (patch)
tree29f7ad0d28757e30b38ac35b0d8bcf57545965f3 /libavformat/avformat.h
parentafe176265480880e1f702c96a8ba434b0d88728b (diff)
lavf: add av_stream_get_side_data
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 5ed50f448b..f6b38d5778 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1326,6 +1326,17 @@ const AVClass *avformat_get_class(void);
*/
AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c);
+/**
+ * Get side information from stream.
+ *
+ * @param stream stream
+ * @param type desired side information type
+ * @param size pointer for side information size to store (optional)
+ * @return pointer to data if present or NULL otherwise
+ */
+uint8_t *av_stream_get_side_data(AVStream *stream,
+ enum AVPacketSideDataType type, int *size);
+
AVProgram *av_new_program(AVFormatContext *s, int id);
/**