[FFmpeg-cvslog] avformat/internal: Document the freeing behavior of ff_alloc_extradata()

Michael Niedermayer git at videolan.org
Wed Mar 7 21:37:58 EET 2018


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Mar  7 10:03:46 2018 +0100| [5735a390a69df29b426d7626d63cd06baa30bc38] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5735a390a69df29b426d7626d63cd06baa30bc38
---

 libavformat/internal.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/internal.h b/libavformat/internal.h
index 2ac7e2e1a0..a020b1b417 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -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
  */



More information about the ffmpeg-cvslog mailing list