diff mbox series

[FFmpeg-devel,11/11] avcodec/internal: Update AVCodecInternal.is_copy documentation

Message ID PR3PR03MB66658C18B26FDAA15E40F5308FA49@PR3PR03MB6665.eurprd03.prod.outlook.com
State Accepted
Commit 78ec2f3bd70a3f065967b68b0ddc51ba3f552410
Headers show
Series [FFmpeg-devel,01/11] avcodec/tests/utils: Rename to avcodec
Related show


Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 24, 2021, 4:37 p.m. UTC
Forgotten in 1f4cf92cfbd3accbae582ac63126ed5570ddfd37.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
 libavcodec/internal.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox series


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;