diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-04 11:41:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-04 11:41:55 +0100 |
commit | ab71be091206a2264f3a8862215fc284bb8e6274 (patch) | |
tree | 1634753965d201a33f583097660958548cce3106 /libavcodec/internal.h | |
parent | 3fc26d8073a49c96a0704015ce18f5317d87a739 (diff) | |
parent | da6506c607eda585ba4b15430cf3c9a2ce09c3a9 (diff) | |
download | ffmpeg-ab71be091206a2264f3a8862215fc284bb8e6274.tar.gz |
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.h | 6 |
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; |