diff options
author | Dale Curtis <[email protected]> | 2020-01-28 16:49:14 -0800 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2020-07-01 13:33:44 +0200 |
commit | 4834e4ff4a0df68798d88deeeab52eff5f86f7b9 (patch) | |
tree | 78da5dd6f6305992eb009e30e0632e69c4f6a295 /libavformat/chromaprint.c | |
parent | f1f5a2c11fc7883bab95d2e8f53e9e9332f7cec4 (diff) |
avformat/utils: Fix undefined behavior in ff_configure_buffers_for_index()
When e2_pts == INT64_MIN and e1_pts >= 0 the calculation of
e2_pts - e1_pts will overflow an int64_t.
Signed-off-by: Dale Curtis <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit f15007afa90a3eb3639848d9702c1cc3ac3e896b)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/chromaprint.c')
0 files changed, 0 insertions, 0 deletions