From 78ec2f3bd70a3f065967b68b0ddc51ba3f552410 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 24 Sep 2021 18:06:28 +0200 Subject: [PATCH] avcodec/internal: Update AVCodecInternal.is_copy documentation Forgotten in 1f4cf92cfbd3accbae582ac63126ed5570ddfd37. Signed-off-by: Andreas Rheinhardt --- libavcodec/internal.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index dc60e4bf08..2111f2b9ae 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -122,10 +122,8 @@ typedef struct EncodeSimpleContext { typedef struct AVCodecInternal { /** - * Whether the parent AVCodecContext is a copy of the context which had - * init() called on it. - * This is used by multithreading - shared tables and picture pointers - * should be freed from the original context only. + * When using frame-threaded decoding, this field is set for the first + * worker thread (e.g. to decode extradata just once). */ int is_copy;