aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/split.c
diff options
context:
space:
mode:
authorJonathan Baudanza <jon@jonb.org>2025-01-08 09:22:13 +0900
committerMartin Storsjö <martin@martin.st>2025-01-10 12:09:27 +0200
commitc0fbb6d5b7aab2e01125e30c69c0af4c07855e6f (patch)
tree6d459baf87d2022734164506f348ca0de197b435 /libavfilter/split.c
parent251de1791e645f16e80b09d82999d4a5e24b1ad1 (diff)
downloadffmpeg-c0fbb6d5b7aab2e01125e30c69c0af4c07855e6f.tar.gz
avformat/rtpdec: int overflow in start_time_realtime
This was previously adjusted by me in 6b3f9c2e92b. Unfortunately, I traded one integer overflow bug for another. Currently, NTP timestamps that exceed INT64_MAX (~Jan 20, 1968) will cause an overflow when passed to av_rescale. This patch replaces av_rescale, which operates on int64_t, with ff_parse_ntp_time, which operates on uint64_t. This will give the correct values for timestamps back around the NTP epoch and present day timestamps. Fixes ticket #11388. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/split.c')
0 files changed, 0 insertions, 0 deletions