Skip to content
Snippets Groups Projects
Commit 05eb0f12 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avutil/log: document log callback thread saftey requirements

parent 423ae313
No related branches found
No related tags found
No related merge requests found
...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment