Hi!
Attached patch fixes the sample Clément kindly provided:
http://lucy.pkh.me/samples/img.jpg?foo=bar
Please comment, Carl Eugen
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index a755b6f..ce40aa5 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -706,6 +706,7 @@ static int jpeg_probe(AVProbeData *p)
case 0xC1:
case 0xC2:
case 0xC3:
+ i += AV_RB16(&b[i + 2]) + 1;
case 0xC5:
case 0xC6:
case 0xC7:
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel