You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavf/img2dec: Skip COM when auto-detecting jpeg.
It could theoretically contain invalid data that gets ignored by decoders.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user