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/avcodec.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/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 47fda6905e..d42febf6c4 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2672,14 +2672,13 @@ typedef struct AVCodecContext { */ int error_rate; +#if FF_API_CODEC_PKT /** - * Current packet as passed into the decoder, to avoid having - * to pass the packet into every function. Currently only valid - * inside lavc and get/release_buffer callbacks. - * - decoding: set by avcodec_decode_*, read by get_buffer() for setting pkt_pts - * - encoding: unused + * @deprecated this field is not supposed to be accessed from outside lavc */ + attribute_deprecated AVPacket *pkt; +#endif /** * VBV delay coded in the last frame (in periods of a 27 MHz clock). |