1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/internal: Document the freeing behavior of ff_alloc_extradata()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2018-03-07 10:03:46 +01:00
parent b59b599446
commit 5735a390a6

View File

@@ -580,6 +580,8 @@ static inline int ff_rename(const char *oldpath, const char *newpath, void *logc
* Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end * Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end
* which is always set to 0. * which is always set to 0.
* *
* Previously allocated extradata in par will be freed.
*
* @param size size of extradata * @param size size of extradata
* @return 0 if OK, AVERROR_xxx on error * @return 0 if OK, AVERROR_xxx on error
*/ */