[FFmpeg-cvslog] lavf/img2dec: Skip DQT segment when auto-detecting jpg.
Carl Eugen Hoyos
git at videolan.org
Sat Sep 3 14:40:00 EEST 2016
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Sep 3 13:38:16 2016 +0200| [91842005fe793f0b8390a6f97ea71d57915dfece] | committer: Carl Eugen Hoyos
lavf/img2dec: Skip DQT segment when auto-detecting jpg.
DQT segments may contain 0xFFs which break auto-detection.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91842005fe793f0b8390a6f97ea71d57915dfece
---
libavformat/img2dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index bac0114..a920f46 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:
More information about the ffmpeg-cvslog
mailing list