mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avformat: Make AVChapter.id an int64_t on next major bump
64 bits are needed in order to retain the uid values of Matroska chapters; the type is kept signed because the semantics of NUT chapters depend upon whether the id is > 0 or < 0. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
e1e6a5c8a5
commit
e318438f2f
8 changed files with 27 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue