mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lavf/img2dec: Skip DQT segment when auto-detecting jpg.
DQT segments may contain 0xFFs which break auto-detection.
This commit is contained in:
parent
cef5bc0e6e
commit
91842005fe
1 changed files with 1 additions and 0 deletions
|
|
@ -726,6 +726,7 @@ static int jpeg_probe(AVProbeData *p)
|
|||
return 0;
|
||||
state = EOI;
|
||||
break;
|
||||
case DQT:
|
||||
case APP0:
|
||||
case APP1:
|
||||
case APP2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue