X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Finternal.h;h=3c6b2921c1e2167f0560131501c1bc9b80f5699d;hb=e318438f2f30525d8baca2b5683aa9898d0c56f7;hp=96902b818cb4f153a1e33b7bca7d4dcccb69891a;hpb=e1e6a5c8a515afa488faee3200666ce0f14ea5eb;p=ffmpeg diff --git a/libavformat/internal.h b/libavformat/internal.h index 96902b818cb..3c6b2921c1e 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -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); /**