diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-05-19 18:29:30 +0400 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-05-20 02:43:52 +0400 |
commit | c23c96b638cbf6c489fd301e6b3d5555632fba37 (patch) | |
tree | 29f7ad0d28757e30b38ac35b0d8bcf57545965f3 /libavformat/avformat.h | |
parent | afe176265480880e1f702c96a8ba434b0d88728b (diff) |
lavf: add av_stream_get_side_data
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 11 |
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); /** |