Also increases the score for large jpeg files. Fixes autodetection for the file from mpv issue 3973.
Unified · Split
| @@ -755,6 +755,8 @@ static int jpeg_probe(AVProbeData *p) · 754 unmodified lines | ||
| 755 | 755 | |
| 756 | 756 | if (state == EOI) |
| 757 | 757 | return AVPROBE_SCORE_EXTENSION + 1; |
| 758 | + if (state == SOS) | |
| 759 | + return AVPROBE_SCORE_EXTENSION / 2 + 1; | |
| 758 | 760 | return AVPROBE_SCORE_EXTENSION / 8; |
| 759 | 761 | } |
| 760 | 762 | |