diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 13:12:53 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-04 08:51:26 +0100 |
commit | da6506c607eda585ba4b15430cf3c9a2ce09c3a9 (patch) | |
tree | fb2436a79ef99b8f7d8b50f015d5a86d0b9d1ae3 /libavcodec/internal.h | |
parent | 38ecc3702dabbea09230f6d6333f59e74f5d1c12 (diff) | |
download | ffmpeg-da6506c607eda585ba4b15430cf3c9a2ce09c3a9.tar.gz |
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.h | 6 |
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 { |