[FFmpeg-devel] [PATCH] avformat/mpegts: fix the issue where the PMT table can't be retrieved. (PR #21166)

2025-12-10 Thread ganqiuye via ffmpeg-devel
PR #21166 opened by ganqiuye URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21166 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21166.patch When analysing PAT, if sid 0 and pmt_pid 0 (current_pid 0 as pat_pid), it will break out of the loop, so it can't retrieve the next pmt_pid. Signe

[FFmpeg-devel] [PATCH v2] avformat/mpegts: fix the issue where the PMT table can't be retrieved.

2025-11-27 Thread ganqiuye via ffmpeg-devel
When analysing PAT, if sid 0 and pmt_pid 0 (current_pid 0 as pat_pid), it will break out of the loop, so it can't retrieve the next pmt_pid. Signed-off-by: ganqiuye --- libavformat/mpegts.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavformat/mpegts.c b/libavforma

[FFmpeg-devel] [PATCH] libavformat/mpegts: fix network pid is 0 in pat_cb

2025-11-27 Thread ganqiuye via ffmpeg-devel
When analysing PAT, if network PID is 0, it won't get the PMT PID. Signed-off-by: ganqiuye --- libavformat/mpegts.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 33f2914104..f6d860007f 100644 --- a/libavformat/mpegts.c