summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorJohn Stebbins <stebbins@jetheaddev.com>2015-11-05 09:49:02 -0800
committerAnton Khirnov <anton@khirnov.net>2015-11-18 11:36:27 +0100
commit7f4ec4364bc4a73036660c1c6a3c4801db524e9e (patch)
tree2958c6492f6be1c09363aa99d821355751d1594f /libavformat/avformat.h
parent21ab6fd01b9107d7171fc1a77c2bfacff845a97a (diff)
avformat: expose av_stream_new_side_data helper
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 57fcbf568b..cd53420215 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1344,6 +1344,16 @@ const AVClass *avformat_get_class(void);
AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c);
/**
+ * Allocate new information from stream.
+ *
+ * @param stream stream
+ * @param type desired side information type
+ * @param size side information size
+ * @return pointer to fresh allocated data or NULL otherwise
+ */
+uint8_t *av_stream_new_side_data(AVStream *stream,
+ enum AVPacketSideDataType type, int size);
+/**
* Get side information from stream.
*
* @param stream stream