summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-14 00:35:37 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:10 -0300
commite83717e63eab1f1b78dc0990e5b8e927097fca29 (patch)
treed3398f8f2ea1548188300fa4d939317f8a46ff9d /libavformat/utils.c
parent0a071f7124beaf0929f772a8618ac1b6c17b0222 (diff)
avformat: Switch AVChapter.id to 64bits
Announced in e318438f2f30525d8baca2b5683aa9898d0c56f7. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index ba664f6214..e36b75081f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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;