From 38ecc3702dabbea09230f6d6333f59e74f5d1c12 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 27 Oct 2013 13:00:37 +0100 Subject: 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 --- libavcodec/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/internal.h') 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 { -- cgit v1.2.3