Maybe fixes: 11435
Unified · Split
| @@ -754,6 +754,10 @@ static int test_segment(AVFormatContext *s, const AVInputFormat *in_fmt, struct · 753 unmodified lines | ||
| 754 | 754 | if (in_fmt->extensions) { |
| 755 | 755 | matchF = av_match_ext( seg->url, in_fmt->extensions) |
| 756 | 756 | + 2*(ff_match_url_ext(seg->url, in_fmt->extensions) > 0); |
| 757 | + if(av_match_name("mp4", in_fmt->name)) { | |
| 758 | + matchF |= av_match_ext( seg->url, "ts") | |
| 759 | + + 2*(ff_match_url_ext(seg->url, "ts") > 0); | |
| 760 | + } | |
| 757 | 761 | } else if (!strcmp(in_fmt->name, "mpegts")) |
| 758 | 762 | matchF = 3; |
| 759 | 763 | |