This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
lavf/img2dec: Increase detection score of jpgs without EOI.
Also increases the score for large jpeg files. Fixes autodetection for the file from mpv issue 3973.
tags/n3.3
Carl Eugen Hoyos
9 years ago
parent
4acea512f3
commit
375a22a472
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/img2dec.c
+ 2
- 0
libavformat/img2dec.c
View File
@@ -755,6 +755,8 @@ static int jpeg_probe(AVProbeData *p)
if (state == EOI)
return AVPROBE_SCORE_EXTENSION + 1;
if (state == SOS)
return AVPROBE_SCORE_EXTENSION / 2 + 1;
return AVPROBE_SCORE_EXTENSION / 8;
}
Write
Preview
Loading…
Cancel
Save