Browse Source

lavf/img2dec: Skip DQT segment when auto-detecting jpg.

DQT segments may contain 0xFFs which break auto-detection.
tags/n3.2
Carl Eugen Hoyos 9 years ago
parent
commit
91842005fe
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/img2dec.c

+ 1
- 0
libavformat/img2dec.c View File

@@ -726,6 +726,7 @@ static int jpeg_probe(AVProbeData *p)
return 0; return 0;
state = EOI; state = EOI;
break; break;
case DQT:
case APP0: case APP0:
case APP1: case APP1:
case APP2: case APP2:


Loading…
Cancel
Save