From da6506c607eda585ba4b15430cf3c9a2ce09c3a9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 27 Oct 2013 13:12:53 +0100 Subject: lavc: move AVCodecContext.pkt to AVCodecInternal It's a private field, not meant to be accessed from outside lavc. --- libavcodec/internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/internal.h') 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 { -- cgit v1.2.3