[FFmpeg-devel] [PATCH 1/5] avcodec/thread: Remove outdated documentation

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Sep 14 19:53:18 EEST 2023


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/thread.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/libavcodec/thread.h b/libavcodec/thread.h
index 2c8c0cdb16..180e1137ae 100644
--- a/libavcodec/thread.h
+++ b/libavcodec/thread.h
@@ -73,12 +73,7 @@ void ff_thread_finish_setup(AVCodecContext *avctx);
 int ff_thread_get_buffer(AVCodecContext *avctx, AVFrame *f, int flags);
 
 /**
- * Wrapper around release_buffer() frame-for multithreaded codecs.
- * Call this function instead of avctx->release_buffer(f).
- * The AVFrame will be copied and the actual release_buffer() call
- * will be performed later. The contents of data pointed to by the
- * AVFrame should not be changed until ff_thread_get_buffer() is called
- * on it.
+ * Wrapper around av_frame_unref() for frame-threaded codecs.
  *
  * @param avctx The current context.
  * @param f The picture being released.
-- 
2.34.1



More information about the ffmpeg-devel mailing list