diff options
author | James Almer <jamrial@gmail.com> | 2021-05-01 23:28:18 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-07 09:27:21 -0300 |
commit | b9c5fdf6027010d15ee90a43aa023e45a5189097 (patch) | |
tree | d51cea73b330856ca9245aed2e1cb0c23a58bc46 /libavformat/internal.h | |
parent | fab2ed47042d4cc2a4cd69bb97738024c01300c7 (diff) | |
download | ffmpeg-b9c5fdf6027010d15ee90a43aa023e45a5189097.tar.gz |
avformat: move AVStream.{parser,need_parsing} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public
header.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 6af38720c8..10fbd9b51b 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -373,8 +373,14 @@ struct AVStreamInternal { * Number of packets to buffer for codec probing */ int probe_packets; + + /* av_read_frame() support */ + enum AVStreamParseType need_parsing; + struct AVCodecParserContext *parser; }; +void avpriv_stream_set_need_parsing(AVStream *st, enum AVStreamParseType type); + #ifdef __GNUC__ #define dynarray_add(tab, nb_ptr, elem)\ do {\ |