diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2020-01-28 16:49:14 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-02 19:55:09 +0200 |
commit | 89c4c3c9442a86c747dbc09ef906e52a5c8635d5 (patch) | |
tree | cc60791d65cc46a55002448a05102d3aeb519068 /COPYING.GPLv2 | |
parent | e4921f409d839a07c90d232ea0629779ee064e1f (diff) | |
download | ffmpeg-89c4c3c9442a86c747dbc09ef906e52a5c8635d5.tar.gz |
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 <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f15007afa90a3eb3639848d9702c1cc3ac3e896b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions