diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 17f317e2d0..f9f351ae57 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -390,6 +390,8 @@ typedef struct AVProgram { (streams are added dynamically) */ typedef struct AVChapter { + int id; ///< Unique id to identify the chapter + AVRational time_base; ///< Timebase in which the start/end timestamps are specified int64_t start, end; /**< chapter start/end time in AV_TIME_BASE units */ char *title; /**< chapter title */ } AVChapter;