lavf/img2dec: Increase score for very large jpeg images.

Avoids a conflict with the raw mjpeg demuxer.
This commit is contained in:
Carl Eugen Hoyos 2020-12-24 13:16:44 +01:00
parent b0a882cc93
commit 2943c3debd
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ static int jpeg_probe(const AVProbeData *p)
return AVPROBE_SCORE_EXTENSION + 1;
if (state == SOS)
return AVPROBE_SCORE_EXTENSION / 2;
return AVPROBE_SCORE_EXTENSION / 8;
return AVPROBE_SCORE_EXTENSION / 8 + 1;
}
static int jpegls_probe(const AVProbeData *p)