aboutsummaryrefslogtreecommitdiff
path: root/libavformat/img2dec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos2016-09-03 13:38:16 +0200
committerCarl Eugen Hoyos2016-09-03 13:38:16 +0200
commit91842005fe793f0b8390a6f97ea71d57915dfece (patch)
tree2de1e1469ebad02d09cab50d876f5d0714612b1c /libavformat/img2dec.c
parentcef5bc0e6e2320d3903cf063d59cef83e91dbc3c (diff)
lavf/img2dec: Skip DQT segment when auto-detecting jpg.
DQT segments may contain 0xFFs which break auto-detection.
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r--libavformat/img2dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index bac0114887..a920f4611f 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -726,6 +726,7 @@ static int jpeg_probe(AVProbeData *p)
return 0;
state = EOI;
break;
+ case DQT:
case APP0:
case APP1:
case APP2: