diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2015-11-05 09:49:02 -0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-11-18 11:36:27 +0100 |
commit | 7f4ec4364bc4a73036660c1c6a3c4801db524e9e (patch) | |
tree | 2958c6492f6be1c09363aa99d821355751d1594f /libavformat/avformat.h | |
parent | 21ab6fd01b9107d7171fc1a77c2bfacff845a97a (diff) | |
download | ffmpeg-streaming-7f4ec4364bc4a73036660c1c6a3c4801db524e9e.zip ffmpeg-streaming-7f4ec4364bc4a73036660c1c6a3c4801db524e9e.tar.gz |
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.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 57fcbf5..cd53420 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 |