diff options
author | James Almer <jamrial@gmail.com> | 2022-12-28 18:36:11 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-01-03 21:35:03 -0300 |
commit | 99e3d26f2061541c772dcd678cbe8c48afa539c5 (patch) | |
tree | 25bd5ecbc3c418dd2e5d81c988c5f1091c766df6 /libavformat/hdsenc.c | |
parent | 6e05622216e188fa601f663cdf4ac999172a081f (diff) | |
download | ffmpeg-99e3d26f2061541c772dcd678cbe8c48afa539c5.tar.gz |
avformat/mux: use only valid timestamps when calculating packet distance
Fixes: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int'
Fixes: fate-cover-art-aiff-id3v2-remux, fate-cover-art-mp3-id3v2-remux and fate-mov-cover-image
under ubsan.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/hdsenc.c')
0 files changed, 0 insertions, 0 deletions