[FFmpeg-cvslog] avcodec/internal: Update AVCodecInternal.is_copy documentation
Andreas Rheinhardt
git at videolan.org
Sun Sep 26 14:59:41 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Sep 24 18:06:28 2021 +0200| [78ec2f3bd70a3f065967b68b0ddc51ba3f552410] | committer: Andreas Rheinhardt
avcodec/internal: Update AVCodecInternal.is_copy documentation
Forgotten in 1f4cf92cfbd3accbae582ac63126ed5570ddfd37.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=78ec2f3bd70a3f065967b68b0ddc51ba3f552410
---
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;
More information about the ffmpeg-cvslog
mailing list