summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-24 18:06:28 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-26 13:29:29 +0200
commit78ec2f3bd70a3f065967b68b0ddc51ba3f552410 (patch)
treeb1d7f857fd924954b5cd9025eea3902050ecd595 /libavcodec
parentb9fd9bce7328d8993c33f7892db3f1d58c8be18f (diff)
avcodec/internal: Update AVCodecInternal.is_copy documentation
Forgotten in 1f4cf92cfbd3accbae582ac63126ed5570ddfd37. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/internal.h6
1 files 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;