]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/utils.c
avformat: Switch AVChapter.id to 64bits
[ffmpeg] / libavformat / utils.c
index ba664f6214d9171ed74bfdc4c000520c12ce01ac..e36b75081f1631d697bb05850b6238c59b50e00f 100644 (file)
@@ -4589,11 +4589,7 @@ AVProgram *av_new_program(AVFormatContext *ac, int id)
     return program;
 }
 
-#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)
 {
     AVChapter *chapter = NULL;