summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-05 22:47:45 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-09 09:46:30 +0100
commitebf1d0f4bb7e849a4a4481eeba3a96c1df674308 (patch)
treed8168ca97c889b863fd61608815c57bf2706a52c /libavcodec
parenta88a141c1791b448f2c327e6bdd9491a4439efc2 (diff)
avcodec/avcodec: Remove outdated comment
avcodec_open2() is supposed to be thread-safe (those codecs whose init functions are not thread-safe are guarded by a global lock). Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7ee8bc2b7c..ec1a0566a4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2384,8 +2384,6 @@ int avcodec_parameters_to_context(AVCodecContext *codec,
* avcodec_find_decoder() and avcodec_find_encoder() provide an easy way for
* retrieving a codec.
*
- * @warning This function is not thread safe!
- *
* @note Always call this function before using decoding routines (such as
* @ref avcodec_receive_frame()).
*