Files
ffmpeg/libavformat
Zhao Zhili 259ed8bc22 avformat/rtmpproto: fix listen_timeout conversion for special negative values
rtmpproto converts listen_timeout to milliseconds by multiplying it
by 1000 before passing it to TCP. However, negative values are special
sentinels (e.g., -1 for infinite wait) and should not be multiplied.

This worked prior to commit 49c6e6cc44 because there was no range
validation. Since that commit, ff_parse_opts_from_query_string
validates option values against their declared ranges, causing these
multiplied negative values to fail.

Fixes ticket #22469.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
(cherry picked from commit f189657ec6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-05-05 15:21:11 +02:00
..
2022-03-15 09:42:29 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-27 11:58:54 +02:00
2025-08-04 16:35:30 +02:00
2025-08-04 16:35:34 +02:00
2022-02-24 12:56:49 +01:00
2022-06-13 22:42:55 +02:00
2023-10-30 00:39:01 +01:00
2022-06-09 20:46:10 +02:00
2022-03-15 09:42:31 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:31 -03:00
2025-12-03 20:26:49 +01:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:31 -03:00
2026-05-05 15:21:07 +02:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2025-08-04 16:35:43 +02:00
2025-12-03 20:26:49 +01:00
2022-06-09 13:03:55 +03:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:32 -03:00
2022-07-09 20:16:39 +02:00
2025-08-04 16:35:57 +02:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:32 -03:00
2022-03-15 09:42:33 -03:00
2025-12-03 20:26:49 +01:00
2022-03-15 09:42:33 -03:00
2021-07-20 11:20:04 +05:30
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2025-12-03 20:26:49 +01:00
2024-07-22 16:21:49 +02:00
2026-05-05 15:21:04 +02:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:33 -03:00
2022-07-03 15:16:31 +02:00
2022-03-15 09:42:33 -03:00
2025-08-04 16:35:57 +02:00
2022-02-24 12:56:49 +01:00
2022-07-09 19:03:28 +02:00
2022-03-15 09:42:33 -03:00
2022-05-06 15:57:45 +02:00
2024-06-13 11:22:05 +02:00
2022-07-03 15:16:31 +02:00
2022-05-10 07:37:38 +02:00
2024-07-22 16:22:15 +02:00
2022-05-10 07:37:38 +02:00
2025-12-03 20:26:49 +01:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2024-07-22 16:24:27 +02:00
2022-09-24 22:58:21 +02:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2025-12-03 20:26:49 +01:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-26 00:42:00 +02:00
2026-05-05 15:21:09 +02:00
2021-10-07 11:52:10 +02:00
2026-05-05 15:21:01 +02:00
2024-06-13 19:46:08 +02:00
2022-03-15 09:42:37 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:37 -03:00
2024-07-22 16:26:15 +02:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:38 -03:00
2023-10-30 00:39:13 +01:00
2023-10-30 00:39:11 +01:00
2024-07-22 16:26:48 +02:00
2022-02-12 08:41:55 +08:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:38 -03:00
2022-03-16 14:05:26 +02:00
2022-07-13 00:27:37 +02:00
2022-03-15 09:42:38 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2024-07-22 16:27:37 +02:00
2022-03-15 09:42:39 -03:00