aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-09-03 13:38:16 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-09-03 13:38:16 +0200
commit91842005fe793f0b8390a6f97ea71d57915dfece (patch)
tree2de1e1469ebad02d09cab50d876f5d0714612b1c
parentcef5bc0e6e2320d3903cf063d59cef83e91dbc3c (diff)
downloadffmpeg-91842005fe793f0b8390a6f97ea71d57915dfece.tar.gz
lavf/img2dec: Skip DQT segment when auto-detecting jpg.
DQT segments may contain 0xFFs which break auto-detection.
-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: