X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Finternal.h;h=d56644b8cf8776c0ad8c67748ef3a4b40e1276a7;hb=f955abe33321f2e28617a3db196be705c5453219;hp=ce03dac3dd72756a32371d1408f750b55db5b09e;hpb=4009ee3eccac686ee2f01837cc8877012c47314c;p=ffmpeg diff --git a/libavformat/internal.h b/libavformat/internal.h index ce03dac3dd7..d56644b8cf8 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -390,6 +390,13 @@ static inline int ff_rename(const char *oldpath, const char *newpath, void *logc return ret; } +/** + * 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); + /** * Allocate extradata with additional FF_INPUT_BUFFER_PADDING_SIZE at end * which is always set to 0.