summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 13:12:53 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-04 08:51:26 +0100
commitda6506c607eda585ba4b15430cf3c9a2ce09c3a9 (patch)
treefb2436a79ef99b8f7d8b50f015d5a86d0b9d1ae3 /libavcodec/internal.h
parent38ecc3702dabbea09230f6d6333f59e74f5d1c12 (diff)
lavc: move AVCodecContext.pkt to AVCodecInternal
It's a private field, not meant to be accessed from outside lavc.
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 9a57209c69..4648c02e09 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -88,6 +88,12 @@ typedef struct AVCodecInternal {
FramePool *pool;
void *thread_ctx;
+
+ /**
+ * Current packet as passed into the decoder, to avoid having to pass the
+ * packet into every function.
+ */
+ AVPacket *pkt;
} AVCodecInternal;
struct AVCodecDefault {