]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/internal.h
avformat: Make AVChapter.id an int64_t on next major bump
[ffmpeg] / libavformat / internal.h
index 96902b818cb4f153a1e33b7bca7d4dcccb69891a..3c6b2921c1e2167f0560131501c1bc9b80f5699d 100644 (file)
@@ -560,7 +560,11 @@ void ff_configure_buffers_for_index(AVFormatContext *s, int64_t time_tolerance);
  *
  * @return AVChapter or NULL on error
  */
+#if FF_API_CHAPTER_ID_INT
 AVChapter *avpriv_new_chapter(AVFormatContext *s, int id, AVRational time_base,
+#else
+AVChapter *avpriv_new_chapter(AVFormatContext *s, int64_t id, AVRational time_base,
+#endif
                               int64_t start, int64_t end, const char *title);
 
 /**