aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/libsrt.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2020-01-28 16:49:14 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-01 13:33:44 +0200
commit4834e4ff4a0df68798d88deeeab52eff5f86f7b9 (patch)
tree78da5dd6f6305992eb009e30e0632e69c4f6a295 /libavformat/libsrt.c
parentf1f5a2c11fc7883bab95d2e8f53e9e9332f7cec4 (diff)
downloadffmpeg-4834e4ff4a0df68798d88deeeab52eff5f86f7b9.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 'libavformat/libsrt.c')
0 files changed, 0 insertions, 0 deletions