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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Sep 24 19:37:19 EEST 2021


Forgotten in 1f4cf92cfbd3accbae582ac63126ed5570ddfd37.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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;
 
-- 
2.30.2



More information about the ffmpeg-devel mailing list