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
1 changed files with 2 additions and 0 deletions

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
* which is always set to 0.
*
* Previously allocated extradata in par will be freed.
*
* @param size size of extradata
* @return 0 if OK, AVERROR_xxx on error
*/