avformat/avio: update avio_alloc_context() doxy

It must be freed using avio_context_free() starting with commit
b12e4d3bb8.

Found-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
pull/269/head
James Almer 7 years ago
parent adeb41afb8
commit 877076ffa1
  1. 2
      libavformat/avio.h

@ -439,7 +439,7 @@ void avio_free_directory_entry(AVIODirEntry **entry);
/** /**
* Allocate and initialize an AVIOContext for buffered I/O. It must be later * Allocate and initialize an AVIOContext for buffered I/O. It must be later
* freed with av_free(). * freed with avio_context_free().
* *
* @param buffer Memory block for input/output operations via AVIOContext. * @param buffer Memory block for input/output operations via AVIOContext.
* The buffer must be allocated with av_malloc() and friends. * The buffer must be allocated with av_malloc() and friends.

Loading…
Cancel
Save