Derek Buitenhuis
f8a613d6a8
fftools/ffprobe: Avoid overflow when calculating DAR
...
Both the codecpar's width and height, and the SAR num and den are
ints, which can overflow. Cast to int64_t, which is what av_reduce
takes.
Without this, occasionally, display_aspect_ratio can be negative in
ffprobe's -show_stream output.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2024-05-05 11:56:29 +01:00
..
2024-04-23 16:09:09 +08:00
2024-03-13 08:01:27 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-04-09 10:34:18 +02:00
2024-04-27 17:00:12 +02:00
2024-03-31 00:08:43 +01:00
2024-04-24 18:12:00 -03:00
2024-04-09 10:34:18 +02:00
2024-04-09 10:34:18 +02:00
2024-04-23 16:09:09 +08:00
2024-04-09 10:34:18 +02:00
2024-04-09 10:34:18 +02:00
2023-11-14 18:18:26 +01:00
2024-04-09 10:34:18 +02:00
2024-04-09 10:34:18 +02:00
2024-03-31 00:08:43 +01:00
2023-11-15 01:20:11 +08:00
2024-03-31 00:08:43 +01:00
2024-05-05 11:56:29 +01:00
2022-08-13 14:42:52 +02:00
2022-08-13 14:42:52 +02:00
2024-03-31 00:08:43 +01:00
2023-12-12 08:24:18 +01:00
2022-07-23 18:58:35 +02:00
2022-07-23 11:53:19 +02:00
2024-03-11 16:52:42 +01:00
2024-01-20 10:37:32 +01:00
2024-03-02 02:51:59 +01:00
2023-05-28 10:47:59 +02:00
2023-11-14 18:18:26 +01:00
2022-07-23 11:53:19 +02:00