ffmpeg | branch: master | Carl Eugen Hoyos <ceho...@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:

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to