Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 16:00:37 +0400
committerAnton Khirnov <anton@khirnov.net>2013-11-04 11:51:26 +0400
commit38ecc3702dabbea09230f6d6333f59e74f5d1c12 (patch)
treef579350e0fc85ce1cb42646b2f13a5ed9a6895af /libavcodec/internal.h
parentdaa7a1d4431b6acf1f93c4a98b3de123abf4ca18 (diff)
pthread: store thread contexts in AVCodecInternal instead of AVCodecContext
It's a private field, it should not be visible to callers. Deprecate AVCodecContext.thread_opaque
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 21331377c3..9a57209c69 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -86,6 +86,8 @@ typedef struct AVCodecInternal {
AVFrame to_free;
FramePool *pool;
+
+ void *thread_ctx;
} AVCodecInternal;
struct AVCodecDefault {