Files
ffmpeg/libavformat
Michael Niedermayer 8b46bd6487 avformat/dashdec: clear pending segment restart when seeking
Probing a small fragment can reach EOF and set is_restart_needed before a
seek. dash_seek selects a new segment but leaves this flag set, so
read_data does not advance cur_seq_no at the next EOF. The selected
segment is then opened a second time.

Clear the pending restart along with the other segment read state before
reopening the component. Do this before probing the new segment, which
may legitimately set the flag again.

Add generated MP2 DASH tests comparing seek-to-zero and sequential packet
checksums and timestamps. The seek test emits 14 duplicate packets without
the reset; both tests produce the same 42 packets with it.

Fixes #25247

Assisted-by: Fairy
2026-10-26 18:57:05 +00:00
..
2025-08-03 13:48:47 +02:00
2026-08-27 00:11:44 +02:00
2026-03-10 13:52:18 +01:00
…
2025-09-08 20:59:31 +00:00
2025-04-13 22:49:21 +02:00
2025-08-03 13:48:47 +02:00
…
2024-03-26 06:36:43 +01:00
2026-06-23 19:15:57 +02:00
2026-03-10 13:52:18 +01:00
2026-06-23 19:15:57 +02:00
2026-05-08 09:34:52 +02:00
2026-06-23 19:15:57 +02:00
…
2026-03-10 13:52:18 +01:00
…
…
2024-06-19 10:12:50 -03:00
…
2022-03-16 14:05:26 +02:00
2024-03-26 06:36:43 +01:00
2025-08-03 13:48:47 +02:00
2025-06-23 17:19:18 +10:00
2026-08-12 01:14:58 +02:00
…
…
2026-02-25 02:55:43 +00:00
2025-08-03 13:48:47 +02:00
2024-06-04 11:46:27 +02:00
2024-07-21 16:41:23 +02:00
2026-02-18 08:20:10 +00:00
…
2026-10-10 21:41:14 +00:00
2023-05-31 09:03:58 -07:00
2026-10-08 14:21:37 +09:00
2022-02-24 12:56:49 +01:00
…
…
…
2025-08-03 13:48:47 +02:00
2024-04-17 18:31:06 +05:30
2024-05-01 02:57:12 +02:00
2026-03-10 13:52:18 +01:00
2024-04-06 12:59:56 +02:00
…
2025-08-04 03:59:42 +00:00
2025-08-03 13:48:47 +02:00
2026-04-28 12:29:37 +00:00
2024-03-31 00:08:43 +01:00
…
2026-03-10 13:52:18 +01:00
2026-07-10 17:45:09 +00:00
2025-03-28 15:23:28 +01:00
2024-03-31 00:08:43 +01:00
2026-05-03 13:26:34 +00:00
2026-09-17 11:02:06 -03:00
…
…
2024-11-03 10:53:15 +11:00
2026-05-03 18:22:46 +02:00
…
…
…
…
2025-06-23 17:19:18 +10:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2022-03-26 00:42:00 +02:00
…
2026-08-09 17:24:59 +00:00
2026-03-10 13:52:18 +01:00
…
…
…
…
2025-08-03 13:48:47 +02:00
2024-03-31 00:08:43 +01:00
2026-03-10 13:52:18 +01:00
2026-06-23 19:15:57 +02:00
2026-03-10 13:52:18 +01:00
2024-07-21 17:02:11 +02:00
…
…
…
2024-03-26 06:36:43 +01:00
2026-02-25 02:55:43 +00:00
…
2025-08-03 13:48:47 +02:00
…
2024-03-26 06:36:43 +01:00