aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-28 01:15:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-28 01:16:09 +0200
commit55cdd45446df65555fedaa2ef184b900d9dd1337 (patch)
tree20f8fc89a77b3fe4be20521aa62d7ee8375f4eda /libavformat/avio.h
parentc6963a220d5849fd5399c056b21ec66de7a0df37 (diff)
downloadffmpeg-55cdd45446df65555fedaa2ef184b900d9dd1337.tar.gz
avio: Document that write_packet() is not allowed to change its input
Found-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 9b9b65e218..cd40f78e5e 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.