mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
lavf/img2dec: Skip DQT segment when auto-detecting jpg.
DQT segments may contain 0xFFs which break auto-detection.
This commit is contained in:
parent
cef5bc0e6e
commit
91842005fe
@ -726,6 +726,7 @@ static int jpeg_probe(AVProbeData *p)
|
||||
return 0;
|
||||
state = EOI;
|
||||
break;
|
||||
case DQT:
|
||||
case APP0:
|
||||
case APP1:
|
||||
case APP2:
|
||||
|
Loading…
Reference in New Issue
Block a user