diff options
author | James Almer <jamrial@gmail.com> | 2021-06-09 15:04:48 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-06-10 18:37:26 -0300 |
commit | 2cccab96f6f2870c77a5940be49c28d4b3d82bc7 (patch) | |
tree | 5624420f8a56356bfdf23afb8df3288b350fe9a0 /libavformat/avformat.h | |
parent | 58c908cf9419ab79c7afa3c29197bcf1533f4028 (diff) | |
download | ffmpeg-2cccab96f6f2870c77a5940be49c28d4b3d82bc7.tar.gz |
avformat: make AVStream.pts_wrap_bits public
It can be useful to library users, and is currently being used by ffmpeg.c
Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index efe1f5823f..043baeea1f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -985,17 +985,14 @@ typedef struct AVStream { */ AVCodecParameters *codecpar; - /***************************************************************** - * 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. - * Internal note: be aware that physically removing these fields - * will break ABI. Replace removed fields with dummy fields, and - * add new fields to AVStreamInternal. - ***************************************************************** + /** + * Number of bits in timestamps. Used for wrapping control. + * + * - demuxing: set by libavformat + * - muxing: set by libavformat + * */ - - int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */ + int pts_wrap_bits; /** * An opaque field for libavformat internal usage. |