mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avutil/log: document log callback thread saftey requirements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
423ae31354
commit
05eb0f125c
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue