mirror of https://github.com/FFmpeg/FFmpeg.git
The chapters are independently allocated, so that comparing the pointers is undefined behaviour. Furthermore, its result is not platform-independent (and may not even be deterministic on a particular platform). So compare the chapters' ids instead. (avpriv_new_chapter() ensures that there are no duplicate ids.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/365/head
parent
6e0823ab83
commit
e04ddba64f
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue