[FFmpeg-devel] [PATCH 1/5] avcodec/thread: Remove outdated documentation
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Sep 16 15:49:36 EEST 2023
Andreas Rheinhardt:
> 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.
Will apply this patchset tomorrow unless there are objections.
- Andreas
More information about the ffmpeg-devel
mailing list