1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavformat
Jonathan Baudanza 6b3f9c2e92 avformat/rtpdec: fix integer overflow in start_time_realtime calculation
I encountered this problem with NTP timestamps that are extremely old,
like from January, 1990.

Although RFC3550 suggests that the timestamps in the RTCP packets use
the actual wallclock, some implementations use other clocks, such as
the CLOCK_MONOTONIC on linux.

I'm my case, I'm dealing with packets from mediasoup.

Without this patch, start_time_realtime shows up in the distance future
instead of around Jan 1900.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2024-09-23 17:08:33 +02:00
..
2024-03-31 00:08:43 +01:00
2024-08-28 16:27:54 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-09-19 10:01:02 -03:00
2024-09-19 10:01:02 -03:00
2024-03-31 00:08:43 +01:00
2024-03-26 06:36:43 +01:00
2024-03-31 00:08:43 +01:00
2024-05-09 16:17:39 +02:00
2024-05-25 13:51:27 +02:00
2024-03-31 00:08:43 +01:00
2024-09-19 10:01:02 -03:00
2024-03-31 00:08:43 +01:00
2024-03-11 16:52:42 +01:00
2024-06-19 10:12:50 -03:00
2024-09-19 00:24:27 +02:00
2024-03-31 00:08:43 +01:00
2024-03-26 06:36:43 +01:00
2024-06-04 11:46:27 +02:00
2024-07-21 16:41:23 +02:00
2024-03-31 00:08:43 +01:00
2024-09-19 10:01:24 -03:00
2024-04-17 18:31:06 +05:30
2024-05-01 02:57:12 +02:00
2024-04-06 12:59:56 +02:00
2024-04-06 12:59:56 +02:00
2024-04-06 12:59:56 +02:00
2024-07-21 16:41:32 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-09-19 10:01:24 -03:00
2024-03-31 00:08:43 +01:00
2024-09-02 11:56:53 +02:00
2024-06-04 11:46:27 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-09-04 13:01:37 +02:00
2024-03-31 00:08:43 +01:00
2024-07-21 16:41:43 +02:00
2024-03-31 00:08:43 +01:00
2024-09-19 10:01:02 -03:00
2024-03-31 00:08:43 +01:00
2024-07-02 21:57:24 +02:00
2024-03-31 00:08:43 +01:00
2024-06-07 21:42:25 +02:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-08-14 18:20:58 +02:00
2024-07-21 17:02:11 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-07-21 17:02:11 +02:00
2024-07-07 23:36:33 +02:00
2024-09-19 10:01:02 -03:00
2024-03-31 00:08:43 +01:00
2024-03-26 06:36:43 +01:00
2024-03-26 06:36:43 +01:00
2024-07-21 17:02:12 +02:00
2024-03-31 00:08:43 +01:00