diff options
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 9d805822d4..5885349ca7 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -391,6 +391,7 @@ attribute_deprecated int av_register_protocol(URLProtocol *protocol); * freed with av_free(). * * @param buffer Memory block for input/output operations via AVIOContext. + * The buffer must be allocated with av_malloc() and friends. * @param buffer_size The buffer size is very important for performance. * For protocols with fixed blocksize it should be set to this blocksize. * For others a typical size is a cache page, e.g. 4kb. |