summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-17 01:40:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-23 18:15:49 +0200
commit05eb0f125c709af1a100f4e649524e80743d1d40 (patch)
tree521ed3aa45c3ea2b0a804c2d0b7be1aa79c3e229 /libavutil
parent423ae31354a9ca3e0ee471ed696ea038857e7625 (diff)
downloadffmpeg-streaming-05eb0f125c709af1a100f4e649524e80743d1d40.zip
ffmpeg-streaming-05eb0f125c709af1a100f4e649524e80743d1d40.tar.gz
avutil/log: document log callback thread saftey requirements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index d3935da..55459e8 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -240,6 +240,9 @@ void av_log_set_level(int level);
/**
* Set the logging callback
*
+ * @note The callback must be thread safe, even if the application does not use
+ * threads itself as some codecs are multithreaded.
+ *
* @see av_log_default_callback
*
* @param callback A logging function with a compatible signature.
OpenPOWER on IntegriCloud