diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-11-14 12:45:08 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-01-27 09:18:32 +0100 |
commit | 4227e4fe7443733fb906f6fb6c265105e8269c74 (patch) | |
tree | e8d550c90fbcd6c574a0c68c91aac6fd7918c2d5 /libavformat/internal.h | |
parent | 728685f37ab333ca35980bd01766c78d197f784a (diff) | |
download | ffmpeg-4227e4fe7443733fb906f6fb6c265105e8269c74.tar.gz |
lavf: add a convenience function for adding side data to a stream
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index d10c5433d0..5b7e426b42 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -366,4 +366,11 @@ static inline int ff_rename(const char *oldpath, const char *newpath) return 0; } +/** + * Add new side data to a stream. If a side data of this type already exists, it + * is replaced. + */ +uint8_t *ff_stream_new_side_data(AVStream *st, enum AVPacketSideDataType type, + int size); + #endif /* AVFORMAT_INTERNAL_H */ |