diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-28 01:15:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-28 01:16:09 +0200 |
commit | 55cdd45446df65555fedaa2ef184b900d9dd1337 (patch) | |
tree | 20f8fc89a77b3fe4be20521aa62d7ee8375f4eda | |
parent | c6963a220d5849fd5399c056b21ec66de7a0df37 (diff) | |
download | ffmpeg-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>
-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 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. |