Commit 05eb0f12 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/log: document log callback thread saftey requirements

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 423ae313
...@@ -240,6 +240,9 @@ void av_log_set_level(int level); ...@@ -240,6 +240,9 @@ void av_log_set_level(int level);
/** /**
* Set the logging callback * 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 * @see av_log_default_callback
* *
* @param callback A logging function with a compatible signature. * @param callback A logging function with a compatible signature.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment