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: Skip SOS when auto-detecting jpeg.
Improves jpeg auto-detection.
tags/n3.1
Carl Eugen Hoyos
10 years ago
parent
98084adccf
commit
c0ecc597fa
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/img2dec.c
+ 1
- 0
libavformat/img2dec.c
View File
@@ -715,6 +715,7 @@ static int jpeg_probe(AVProbeData *p)
state = 0xC0;
break;
case 0xDA:
i += AV_RB16(&b[i + 2]) + 1;
if (state != 0xC0 && state != 0xDA)
return 0;
state = 0xDA;
Write
Preview
Loading…
Cancel
Save