[FFmpeg-devel] [PATCH] avformat/img2dec: skip DHT segment in jpeg_probe()

Matthieu Bouron matthieu.bouron at gmail.com
Wed Apr 1 11:52:20 EEST 2020


---
 libavformat/img2dec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 40f3e3d499e..93cd51c1932 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -775,6 +775,7 @@ static int jpeg_probe(const AVProbeData *p)
                 return 0;
             state = EOI;
             break;
+        case DHT:
         case DQT:
         case APP0:
         case APP1:
-- 
2.26.0



More information about the ffmpeg-devel mailing list