]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avformat.h
avformat: Make AVChapter.id an int64_t on next major bump
[ffmpeg] / libavformat / avformat.h
index f781c1c118f469c33cad00fbd170cd4032ffec2e..822aa4c6314f7e3c96499d7871f6622387d763a5 100644 (file)
@@ -1188,7 +1188,11 @@ typedef struct AVProgram {
                                          change dynamically at runtime. */
 
 typedef struct AVChapter {
+#if FF_API_CHAPTER_ID_INT
     int id;                 ///< unique ID to identify the chapter
+#else
+    int64_t id;             ///< unique ID to identify the chapter
+#endif
     AVRational time_base;   ///< time base in which the start/end timestamps are specified
     int64_t start, end;     ///< chapter start/end time in time_base units
     AVDictionary *metadata;