1
0
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:
Carl Eugen Hoyos 2016-09-03 13:38:16 +02:00
parent cef5bc0e6e
commit 91842005fe

View File

@ -726,6 +726,7 @@ static int jpeg_probe(AVProbeData *p)
return 0;
state = EOI;
break;
case DQT:
case APP0:
case APP1:
case APP2: