Unified · Split
| @@ -54,7 +54,7 @@ static int srt_probe(AVProbeData *p) · 53 unmodified lines | |||
| 54 | return 0; | 54 | return 0; |
| 55 | pbuf = buf; | 55 | pbuf = buf; |
| 56 | if (buf[0] == '-') | 56 | if (buf[0] == '-') |
| 57 | pbuf++; | 57 | pbuf++; |
| 58 | if (pbuf[0] >= '0' && pbuf[0] <= '9' && strstr(buf, " --> ") | 58 | if (pbuf[0] >= '0' && pbuf[0] <= '9' && strstr(buf, " --> ") |
| 59 | && sscanf(buf, "%*d:%*d:%*d%*1[,.]%*d --> %*d:%*d:%*d%*1[,.]%d", &v) == 1) | 59 | && sscanf(buf, "%*d:%*d:%*d%*1[,.]%*d --> %*d:%*d:%*d%*1[,.]%d", &v) == 1) |
| 60 | return AVPROBE_SCORE_MAX; | 60 | return AVPROBE_SCORE_MAX; |