summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-05-01 23:35:45 -0300
committerJames Almer <jamrial@gmail.com>2021-05-07 09:27:21 -0300
commit7489f632815c98ad58c3db71d1a5239b5dae266c (patch)
treecedaa1ac51cbbc80432d52ec1ea77f49694288ab /libavformat/internal.h
parentb9c5fdf6027010d15ee90a43aa023e45a5189097 (diff)
avformat: move AVStream.codec_info_nb_frames to AVStreamInternal
It's a private field, no reason to have it exposed in a public header. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 10fbd9b51b..291c25b226 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -377,6 +377,11 @@ struct AVStreamInternal {
/* av_read_frame() support */
enum AVStreamParseType need_parsing;
struct AVCodecParserContext *parser;
+
+ /**
+ * Number of frames that have been demuxed during avformat_find_stream_info()
+ */
+ int codec_info_nb_frames;
};
void avpriv_stream_set_need_parsing(AVStream *st, enum AVStreamParseType type);