summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/img2dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index c353563..a755b6f 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -714,7 +714,7 @@ static int jpeg_probe(AVProbeData *p)
state = 0xC0;
break;
case 0xDA:
- if (state != 0xC0)
+ if (state != 0xC0 && state != 0xDA)
return 0;
state = 0xDA;
break;
OpenPOWER on IntegriCloud