From 4227e4fe7443733fb906f6fb6c265105e8269c74 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 14 Nov 2014 12:45:08 +0100 Subject: lavf: add a convenience function for adding side data to a stream --- libavformat/internal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/internal.h') 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 */ -- cgit v1.2.3