Commit 91842005 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/img2dec: Skip DQT segment when auto-detecting jpg.

DQT segments may contain 0xFFs which break auto-detection.
parent cef5bc0e
......@@ -726,6 +726,7 @@ static int jpeg_probe(AVProbeData *p)
return 0;
state = EOI;
break;
case DQT:
case APP0:
case APP1:
case APP2:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment