summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-04 11:41:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-04 11:41:55 +0100
commitab71be091206a2264f3a8862215fc284bb8e6274 (patch)
tree1634753965d201a33f583097660958548cce3106 /libavcodec/internal.h
parent3fc26d8073a49c96a0704015ce18f5317d87a739 (diff)
parentda6506c607eda585ba4b15430cf3c9a2ce09c3a9 (diff)
Merge commit 'da6506c607eda585ba4b15430cf3c9a2ce09c3a9'
* commit 'da6506c607eda585ba4b15430cf3c9a2ce09c3a9': lavc: move AVCodecContext.pkt to AVCodecInternal Conflicts: libavcodec/internal.h libavcodec/rawdec.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 2e216a1f28..6a89696d68 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -98,6 +98,12 @@ typedef struct AVCodecInternal {
void *thread_ctx;
/**
+ * Current packet as passed into the decoder, to avoid having to pass the
+ * packet into every function.
+ */
+ AVPacket *pkt;
+
+ /**
* temporary buffer used for encoders to store their bitstream
*/
uint8_t *byte_buffer;