ffmpeg | branch: master | Michael Niedermayer <mich...@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 <mich...@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
  */

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to