[FFmpeg-cvslog] avio: Document that write_packet() is not allowed to change its input
Michael Niedermayer
git at videolan.org
Sat Jul 28 01:47:11 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jul 28 01:15:48 2012 +0200| [55cdd45446df65555fedaa2ef184b900d9dd1337] | committer: Michael Niedermayer
avio: Document that write_packet() is not allowed to change its input
Found-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=55cdd45446df65555fedaa2ef184b900d9dd1337
---
libavformat/avio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 9b9b65e..cd40f78 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -171,6 +171,7 @@ int avio_check(const char *url, int flags);
* @param opaque An opaque pointer to user-specific data.
* @param read_packet A function for refilling the buffer, may be NULL.
* @param write_packet A function for writing the buffer contents, may be NULL.
+ * The function may not change the input buffers content.
* @param seek A function for seeking to specified byte position, may be NULL.
*
* @return Allocated AVIOContext or NULL on failure.
More information about the ffmpeg-cvslog
mailing list