Hi!
Attached patch theoretically improves the jpeg auto-detection.
Please comment, Carl Eugen
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index fe0e346..6864374 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -742,6 +742,7 @@ static int jpeg_probe(AVProbeData *p)
case APP13:
case APP14:
case APP15:
+ case COM:
i += AV_RB16(&b[i + 2]) + 1;
break;
default:
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel