diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-02-06 14:53:40 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-10 21:45:04 +0100 |
commit | 9deaec782810d098bca11c9332fab2d2f4c5fb78 (patch) | |
tree | 09de732f0e2550abd520cb94d80e3882546548f2 /libavformat/avformat.h | |
parent | 1509c018bd5b054a2354e20021ccbac9c934d213 (diff) |
lavf: move internal fields from public to internal context
This is not an API change; the fields were explicitly declared private
before.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index df9a602c02..0994c8075e 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1210,55 +1210,6 @@ typedef struct AVFormatContext { #define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 ///< Shift timestamps so they are non negative #define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0 - /***************************************************************** - * All fields below this line are not part of the public API. They - * may not be used outside of libavformat and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - - /** - * This buffer is only needed when packets were already buffered but - * not decoded, for example to get the codec parameters in MPEG - * streams. - */ - struct AVPacketList *packet_buffer; - struct AVPacketList *packet_buffer_end; - - /* av_seek_frame() support */ - int64_t data_offset; /**< offset of the first packet */ - - /** - * Raw packets from the demuxer, prior to parsing and decoding. - * This buffer is used for buffering packets until the codec can - * be identified, as parsing cannot be done without knowing the - * codec. - */ - struct AVPacketList *raw_packet_buffer; - struct AVPacketList *raw_packet_buffer_end; - /** - * Packets split by the parser get queued here. - */ - struct AVPacketList *parse_queue; - struct AVPacketList *parse_queue_end; - /** - * Remaining size available for raw_packet_buffer, in bytes. - */ -#define RAW_PACKET_BUFFER_SIZE 2500000 - int raw_packet_buffer_remaining_size; - - /** - * Offset to remap timestamps to be non-negative. - * Expressed in timebase units. - */ - int64_t offset; - - /** - * Timebase for the timestamp offset. - */ - AVRational offset_timebase; - /** * An opaque field for libavformat internal usage. * Must not be accessed in any way by callers. |